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 16
16
use ReflectionProperty ;
17
17
use tests \unit \Util \MagentoTestCase ;
18
18
use tests \unit \Util \TestLoggingUtil ;
19
+ use Magento \FunctionalTestingFramework \Exceptions \TestFrameworkException ;
20
+
19
21
20
22
/**
21
23
* Class ModuleResolverTest
@@ -807,7 +809,7 @@ public function testGetModulePathsNoAdminToken(): void
807
809
$ this ->setMockResolverProperties ($ resolver );
808
810
809
811
// 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);
811
813
$ resolver ->getModulesPath ();
812
814
}
813
815
@@ -859,7 +861,7 @@ public function testGetAdminTokenWithMissingEnv(): void
859
861
$ this ->setMockResolverProperties ($ resolver );
860
862
861
863
// Expect exception
862
- $ this ->expectException (FastFailException ::class);
864
+ $ this ->expectException (TestFrameworkException ::class);
863
865
$ resolver ->getModulesPath ();
864
866
}
865
867
@@ -879,7 +881,7 @@ public function testGetAdminTokenWithBadResponse(): void
879
881
$ this ->setMockResolverProperties ($ resolver );
880
882
881
883
// Expect exception
882
- $ this ->expectException (FastFailException ::class);
884
+ $ this ->expectException (TestFrameworkException ::class);
883
885
$ resolver ->getModulesPath ();
884
886
}
885
887
You can’t perform that action at this time.
0 commit comments