Skip to content

Commit

Permalink
made changes for 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
koomai committed May 25, 2019
1 parent ac3057a commit 5658746
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Laravel Config

##### For Laravel 5.7+
##### For Laravel 5.4 - 5.7

Manage your application configuration in your database.

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
],
"require": {
"php": "^7.1",
"illuminate/console": "5.7.*|5.8.*",
"illuminate/database": "5.7.*|5.8.*",
"illuminate/events": "5.7.*|5.8.*",
"illuminate/config": "5.7.*|5.8.*",
"illuminate/console": "5.7.*",
"illuminate/database": "5.7.*",
"illuminate/events": "5.7.*",
"illuminate/config": "5.7.*",
"ext-json": "*",
"ext-pdo": "*"
},
"require-dev": {
"orchestra/testbench": ">=3.7",
"orchestra/testbench": "3.7.*",
"phpunit/phpunit": "^7.0",
"mockery/mockery": "^1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/Console/Commands/DeleteDatabaseConfigCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function getPackageProviders($app)
*/
public function shouldDisplayErrorMessageIfNoConfigFound()
{
$this->artisan('config:delete random key')
$this->artisan('config:delete', ['name' => 'random', 'key' => 'foo'])
->expectsOutput('No configuration for [random] found')
->assertExitCode(1);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ protected function setUp(): void

$this->withFactories(__DIR__ . '/factories');

$this->artisan('migrate', ['--database' => 'testing'])->run();
$this->artisan('migrate', ['--database' => 'testing']);
}
}

0 comments on commit 5658746

Please # to comment.