File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
dev/tests/unit/Magento/FunctionalTestFramework/Util Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1616use ReflectionProperty ;
1717use tests \unit \Util \MagentoTestCase ;
1818use tests \unit \Util \TestLoggingUtil ;
19+ use Magento \FunctionalTestingFramework \Exceptions \TestFrameworkException ;
20+
1921
2022/**
2123 * Class ModuleResolverTest
@@ -807,7 +809,7 @@ public function testGetModulePathsNoAdminToken(): void
807809 $ this ->setMockResolverProperties ($ resolver );
808810
809811 // Cannot Generate if no --force was passed in and no Admin Token is returned successfully
810- $ this ->expectException (FastFailException ::class);
812+ $ this ->expectException (TestFrameworkException ::class);
811813 $ resolver ->getModulesPath ();
812814 }
813815
@@ -859,7 +861,7 @@ public function testGetAdminTokenWithMissingEnv(): void
859861 $ this ->setMockResolverProperties ($ resolver );
860862
861863 // Expect exception
862- $ this ->expectException (FastFailException ::class);
864+ $ this ->expectException (TestFrameworkException ::class);
863865 $ resolver ->getModulesPath ();
864866 }
865867
@@ -879,7 +881,7 @@ public function testGetAdminTokenWithBadResponse(): void
879881 $ this ->setMockResolverProperties ($ resolver );
880882
881883 // Expect exception
882- $ this ->expectException (FastFailException ::class);
884+ $ this ->expectException (TestFrameworkException ::class);
883885 $ resolver ->getModulesPath ();
884886 }
885887
You can’t perform that action at this time.
0 commit comments