This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 55 - 5.5
66 - 5.6
77
8- before_install : echo "extension=ldap.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
9-
108before_script :
119 - travis_retry composer self-update
1210 - travis_retry composer install --prefer-source --no-interaction --dev
Original file line number Diff line number Diff line change 22
33namespace Adldap \Laravel \Tests ;
44
5- use Adldap \Models \User ;
65use Mockery ;
6+ use Adldap \Models \User ;
77use Adldap \Laravel \Facades \Adldap ;
88use Illuminate \Support \Facades \Auth ;
99use Illuminate \Support \Facades \App ;
@@ -27,9 +27,6 @@ public function testRegistration()
2727
2828 public function testAuthPasses ()
2929 {
30- // Get around E Strict warning about mockery's __call signature being different
31- if (defined ('E_STRICT ' )) error_reporting ('E_ALL ^ E_STRICT ' );
32-
3330 $ mockedBuilder = Mockery::mock ('Adldap\Query\Builder ' );
3431
3532 $ rawAttributes = [
@@ -62,9 +59,6 @@ public function testAuthPasses()
6259
6360 public function testAuthFails ()
6461 {
65- // Get around E Strict warning about mockery's __call signature being different
66- if (defined ('E_STRICT ' )) error_reporting ('E_ALL ^ E_STRICT ' );
67-
6862 $ mockedBuilder = Mockery::mock ('Adldap\Query\Builder ' );
6963
7064 $ mockedSearch = Mockery::mock ('Adldap\Classes\Search ' );
@@ -83,9 +77,6 @@ public function testAuthFails()
8377
8478 public function testAuthFailsWhenUserFound ()
8579 {
86- // Get around E Strict warning about mockery's __call signature being different
87- if (defined ('E_STRICT ' )) error_reporting ('E_ALL ^ E_STRICT ' );
88-
8980 $ mockedBuilder = Mockery::mock ('Adldap\Query\Builder ' );
9081
9182 $ rawAttributes = [
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ protected function getEnvironmentSetup($app)
4444 /**
4545 * Get the package service providers required for testing.
4646 *
47+ * @param \Illuminate\Foundation\Application $app
48+ *
4749 * @return array
4850 */
4951 protected function getPackageProviders ($ app )
@@ -57,6 +59,8 @@ protected function getPackageProviders($app)
5759 /**
5860 * Get the package aliases for testing.
5961 *
62+ * @param \Illuminate\Foundation\Application $app
63+ *
6064 * @return array
6165 */
6266 protected function getPackageAliases ($ app )
You can’t perform that action at this time.
0 commit comments