diff --git a/Tests/DotenvTest.php b/Tests/DotenvTest.php index 9cf3b66..c375efe 100644 --- a/Tests/DotenvTest.php +++ b/Tests/DotenvTest.php @@ -322,7 +322,7 @@ public function testOverload() public function testLoadDirectory() { - $this->expectException('Symfony\Component\Dotenv\Exception\PathException'); + $this->expectException(\Symfony\Component\Dotenv\Exception\PathException::class); $dotenv = new Dotenv(true); $dotenv->load(__DIR__); }