Skip to content

Commit b0b96da

Browse files
committed
fixing tests
Refs #4
1 parent 12dda52 commit b0b96da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/Domain/Common/Services/Environment/Adapter/DotenvTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testLoadThrowsExceptionForEmptyFilePath()
5252
{
5353
$this->expectException(InvalidConfigurationArguments::class);
5454
$this->expectExceptionMessage(
55-
'The .env file does not exist at the specified path: '
55+
'The .env directory or file path was not specified.'
5656
);
5757

5858
$dotenv = new Dotenv();
@@ -64,7 +64,7 @@ public function testLoadThrowsExceptionForMissingFile()
6464
{
6565
$this->expectException(InvalidConfigurationArguments::class);
6666
$this->expectExceptionMessage(
67-
'The .env file does not exist at the specified path: /nonexistent/path/.env'
67+
'The .env directory does not exist at the specified path: /nonexistent/path'
6868
);
6969

7070
$dotenv = new Dotenv();

0 commit comments

Comments
 (0)