Skip to content

Commit 783f120

Browse files
Merge branch '4.4' into 5.1
* 4.4: Use createMock() and use import instead of FQCN
2 parents f4f1b78 + 4952e5c commit 783f120

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/DotenvTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\Dotenv\Dotenv;
1616
use Symfony\Component\Dotenv\Exception\FormatException;
17+
use Symfony\Component\Dotenv\Exception\PathException;
1718

1819
class DotenvTest extends TestCase
1920
{
@@ -322,7 +323,7 @@ public function testOverload()
322323

323324
public function testLoadDirectory()
324325
{
325-
$this->expectException(\Symfony\Component\Dotenv\Exception\PathException::class);
326+
$this->expectException(PathException::class);
326327
$dotenv = new Dotenv();
327328
$dotenv->load(__DIR__);
328329
}

0 commit comments

Comments
 (0)