Skip to content

Commit

Permalink
Fix without laravel tests condition
Browse files Browse the repository at this point in the history
  • Loading branch information
pionl committed Aug 19, 2022
1 parent 22b1418 commit acf9411
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
run: "composer update --no-interaction --no-progress"

- name: "Remove Laravel"
if: ${{ matrix.dependencies == 'highest' }}
run: "composer remove --dev laravel/framework"

- name: "Tests"
Expand Down
6 changes: 3 additions & 3 deletions tests/GetValueFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testArray(): void
public function testRequestAll(): void
{
if (class_exists(Request::class) === false) {
$this->markTestSkipped('Laravel is not installed');
$this->markTestSkipped('Laravel not installed.');
}

$getValue = $this->factory->requestAll(new Request([
Expand All @@ -75,7 +75,7 @@ public function testRequestAll(): void
public function testRequestValidated(): void
{
if (class_exists(Request::class) === false) {
$this->markTestSkipped('Laravel is not installed');
$this->markTestSkipped('Laravel not installed.');
}

$getValue = $this->factory->request($this->getFormRequest());
Expand All @@ -87,7 +87,7 @@ public function testRequestValidated(): void
public function testRequestAllWithFormRequest(): void
{
if (class_exists(Request::class) === false) {
$this->markTestSkipped('Laravel is not installed');
$this->markTestSkipped('Laravel not installed.');
}

$request = $this->getFormRequest();
Expand Down

0 comments on commit acf9411

Please sign in to comment.