Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 746b225

Browse files
committed
fix tests to run on PHP 5.4
1 parent a06a52e commit 746b225

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/AdldapTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ class AdldapTest extends FunctionalTestCase
1010
{
1111
public function testConfigurationNotFoundException()
1212
{
13-
$this->setExpectedException(ConfigurationMissingException::class);
13+
$this->setExpectedException('Adldap\Laravel\Exceptions\ConfigurationMissingException');
1414

1515
App::make('adldap');
1616
}
1717

1818
public function testRegistration()
1919
{
20-
$this->assertTrue(app()->register(AdldapServiceProvider::class));
20+
$this->assertTrue(app()->register('Adldap\Laravel\AdldapServiceProvider'));
2121
}
2222
}

tests/FunctionalTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function getPackageProviders()
4040
protected function getPackageAliases()
4141
{
4242
return [
43-
Adldap::class,
43+
'Adldap\Laravel\Facades\Adldap',
4444
];
4545
}
4646
}

0 commit comments

Comments
 (0)