diff --git a/.gitignore b/.gitignore index a0fbe22..05ed878 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .DS_Store -/vendor +vendor Thumbs.db diff --git a/.travis.yml b/.travis.yml index a591bac..0811f37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,8 @@ language: php php: - - 5.6 - 7.0 -env: - matrix: - - COMPOSER_FLAGS="--prefer-lowest" - - COMPOSER_FLAGS="" - -before_script: - - travis_retry composer self-update - - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source - script: + - composer install - phpunit diff --git a/composer.lock b/composer.lock index f11ee74..de8d1da 100644 --- a/composer.lock +++ b/composer.lock @@ -347,16 +347,16 @@ }, { "name": "laravel/framework", - "version": "v5.3.2", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "2213ca11f6fa849ca7c96308934cc6881ab434e8" + "reference": "7159ffbadc79558a42ece2cdd1ec2e7e13105b5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/2213ca11f6fa849ca7c96308934cc6881ab434e8", - "reference": "2213ca11f6fa849ca7c96308934cc6881ab434e8", + "url": "https://api.github.com/repos/laravel/framework/zipball/7159ffbadc79558a42ece2cdd1ec2e7e13105b5d", + "reference": "7159ffbadc79558a42ece2cdd1ec2e7e13105b5d", "shasum": "" }, "require": { @@ -470,7 +470,7 @@ "framework", "laravel" ], - "time": "2016-08-24 23:23:29" + "time": "2016-08-26 21:40:26" }, { "name": "league/flysystem", @@ -2143,21 +2143,21 @@ }, { "name": "orchestra/testbench", - "version": "v3.3.0", + "version": "v3.3.1", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "59f1ed6c8ecc39930557d80a6a09dce9ba0a6757" + "reference": "d014926177799e2f0162d4d8338cd0283fd4a945" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/59f1ed6c8ecc39930557d80a6a09dce9ba0a6757", - "reference": "59f1ed6c8ecc39930557d80a6a09dce9ba0a6757", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/d014926177799e2f0162d4d8338cd0283fd4a945", + "reference": "d014926177799e2f0162d4d8338cd0283fd4a945", "shasum": "" }, "require": { "fzaninotto/faker": "~1.4", - "laravel/framework": "~5.3.0", + "laravel/framework": "~5.3.3", "orchestra/database": "~3.3.1", "php": ">=5.6.0", "symfony/css-selector": "3.1.*", @@ -2202,7 +2202,7 @@ "orchestral", "testing" ], - "time": "2016-08-25 04:16:34" + "time": "2016-08-28 22:51:46" }, { "name": "phpdocumentor/reflection-common", @@ -2658,16 +2658,16 @@ }, { "name": "phpunit/phpunit", - "version": "5.5.3", + "version": "5.5.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "08745ede58cb02b4043adadc09a01c09e698e3f7" + "reference": "3e6e88e56c912133de6e99b87728cca7ed70c5f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/08745ede58cb02b4043adadc09a01c09e698e3f7", - "reference": "08745ede58cb02b4043adadc09a01c09e698e3f7", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3e6e88e56c912133de6e99b87728cca7ed70c5f5", + "reference": "3e6e88e56c912133de6e99b87728cca7ed70c5f5", "shasum": "" }, "require": { @@ -2732,20 +2732,20 @@ "testing", "xunit" ], - "time": "2016-08-25 04:45:28" + "time": "2016-08-26 07:11:44" }, { "name": "phpunit/phpunit-mock-objects", - "version": "3.2.5", + "version": "3.2.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "8f444748e174e49d5bd2bd7a9bebbf44edbb55fb" + "reference": "46b249b43fd2ed8e127aa0fdb3cbcf56e9bc0e49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/8f444748e174e49d5bd2bd7a9bebbf44edbb55fb", - "reference": "8f444748e174e49d5bd2bd7a9bebbf44edbb55fb", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/46b249b43fd2ed8e127aa0fdb3cbcf56e9bc0e49", + "reference": "46b249b43fd2ed8e127aa0fdb3cbcf56e9bc0e49", "shasum": "" }, "require": { @@ -2791,7 +2791,7 @@ "mock", "xunit" ], - "time": "2016-08-24 16:58:26" + "time": "2016-08-26 05:51:59" }, { "name": "sebastian/code-unit-reverse-lookup", diff --git a/tests/DropboxDriverTest.php b/tests/DropboxDriverTest.php index fa0aea7..cf0e235 100644 --- a/tests/DropboxDriverTest.php +++ b/tests/DropboxDriverTest.php @@ -5,6 +5,6 @@ class DropboxDriverTest extends TestCase /** @test */ public function it_adds_a_new_storage() { - $this->assertInstanceOf(Illuminate\Filesystem\FilesystemAdapter::class, Storage::disk('dropbox')); + $this->assertInstanceOf('Illuminate\Filesystem\FilesystemAdapter', Storage::disk('dropbox')); } } diff --git a/tests/TestCase.php b/tests/TestCase.php index 4479cce..ec719c7 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -27,7 +27,7 @@ protected function getEnvironmentSetUp($app) protected function getPackageProviders($app) { return [ - BC\Laravel\DropboxDriver\ServiceProvider::class, + 'BC\Laravel\DropboxDriver\ServiceProvider', ]; } }