Skip to content

Commit

Permalink
Merge pull request #72 from boxfrommars/laravel-7-support
Browse files Browse the repository at this point in the history
Add Laravel 7 support
  • Loading branch information
boxfrommars authored Mar 14, 2020
2 parents efefe99 + 741ec7b commit d895553
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
}
],
"require": {
"php": ">=7.1.3",
"illuminate/support": "^5.7 | ^5.8 | ^6.0"
"php": ">=7.2.5",
"illuminate/support": "^5.7 | ^5.8 | ^6.0 | ^7.0"
},
"require-dev": {
"phpunit/phpunit": "~7",
"orchestra/testbench": "~3.7"
"phpunit/phpunit": "~8",
"orchestra/testbench": "~5"
},
"autoload": {
"psr-0": {
Expand Down
2 changes: 1 addition & 1 deletion tests/SortableControllerSpecificDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function setUp(): void
parent::setUp();
$this->loadMigrationsFrom([
'--database' => 'testbench',
'--realpath' => realpath(__DIR__ . '/migrations'),
'--path' => realpath(__DIR__ . '/migrations'),
]);

for ($i = 1; $i <= 30; ++$i) {
Expand Down
2 changes: 1 addition & 1 deletion tests/SortableControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function setUp(): void
parent::setUp();
$this->loadMigrationsFrom([
'--database' => 'testbench',
'--realpath' => realpath(__DIR__ . '/migrations'),
'--path' => realpath(__DIR__ . '/migrations'),
]);

for ($i = 1; $i <= 30; ++$i) {
Expand Down
2 changes: 1 addition & 1 deletion tests/SortableTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public function setUp(): void

$this->loadMigrationsFrom([
'--database' => 'testbench',
'--realpath' => realpath(__DIR__ . '/migrations'),
'--path' => realpath(__DIR__ . '/migrations'),
]);
}

Expand Down

0 comments on commit d895553

Please sign in to comment.