Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
melihovv committed Sep 7, 2019
1 parent d017538 commit 82f6fc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor
/.idea
/composer.lock
/.phpunit.result.cache
6 changes: 3 additions & 3 deletions tests/LaravelEnvValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ public function it_has_the_right_error_message()
$envValidator = EnvValidatorFactory::buildFromLaravelConfig();
$envValidator->validate();
} catch (Exception $e) {
$this->assertContains(
$this->assertStringContainsString(
'VAR_1',
$e->getMessage()
);
$this->assertContains(
$this->assertStringContainsString(
'VAR_2',
$e->getMessage()
);
$this->assertContains(
$this->assertStringContainsString(
'required',
$e->getMessage()
);
Expand Down

0 comments on commit 82f6fc9

Please sign in to comment.