diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php index 8d4822f..e7dbf24 100644 --- a/features/bootstrap/FeatureContext.php +++ b/features/bootstrap/FeatureContext.php @@ -52,7 +52,7 @@ public function theSameOutputShouldBeLikeTheContentOf($filePath): void public function itShouldPass(): void { if (0 != $this->return) { - throw new \Exception('Error executing ' . $this->return); + throw new Exception('Error executing ' . $this->return); } } @@ -80,7 +80,7 @@ private function assertEquals($given, $expected): void \similar_text($expected, $given, $perc); if ($perc < 94) { - throw new \Exception('String similarity:' . $perc . '%. String expected:' . $expected . \PHP_EOL . ' given:' . $given); + throw new Exception('String similarity:' . $perc . '%. String expected:' . $expected . \PHP_EOL . ' given:' . $given); } } }