Skip to content

Commit

Permalink
Merge pull request #14 from romanmartushev/feature/laravel-10
Browse files Browse the repository at this point in the history
laravel 10 compat
  • Loading branch information
paulbunyannet committed Apr 25, 2023
2 parents 6268845 + 097bad0 commit 0f25dc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions composer.json
Expand Up @@ -12,14 +12,14 @@
}
],
"require": {
"php": "^8.0",
"illuminate/support": "^9.0",
"illuminate/console": "^9.0",
"illuminate/filesystem": "^9.0"
"php": "^8.1",
"illuminate/support": "^10.0",
"illuminate/console": "^10.0",
"illuminate/filesystem": "^10.0"
},
"require-dev": {
"phpunit/phpunit" : "^9.5",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^8.0",
"mockery/mockery": "~1",
"fakerphp/faker": "^1.9.2"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/WordpressMaintenanceUpTest.php
Expand Up @@ -26,7 +26,7 @@ public function it_has_a_up_command_removes_maintenance_file()
$filename = '.'.$this->faker->uuid;
$this->artisan('wp:down', ['--file' => $filename]);
$this->artisan('wp:up', ['--file' => $filename]);
$this->assertFileNotExists($this->getPublicPath() . '/'. $filename);
$this->assertFileDoesNotExist($this->getPublicPath() . '/'. $filename);

}

Expand All @@ -37,7 +37,7 @@ public function it_has_removed_the_down_file_without_parameter()
{
$this->artisan('wp:down', []);
$this->artisan('wp:up', []);
$this->assertFileNotExists($this->getPublicPath() . '/.maintenance');
$this->assertFileDoesNotExist($this->getPublicPath() . '/.maintenance');
}

/**
Expand Down

0 comments on commit 0f25dc5

Please sign in to comment.