77namespace Magento \FunctionalTestingFramework \Util ;
88
99use Magento \FunctionalTestingFramework \Config \MftfApplicationConfig ;
10+ use Magento \FunctionalTestingFramework \Exceptions \FastFailException ;
1011use Magento \FunctionalTestingFramework \Exceptions \TestFrameworkException ;
1112use Magento \FunctionalTestingFramework \Util \ModuleResolver \ModuleResolverService ;
1213use Magento \FunctionalTestingFramework \Util \Logger \LoggingUtil ;
@@ -168,6 +169,7 @@ private function __construct()
168169 *
169170 * @return array
170171 * @throws TestFrameworkException
172+ * @throws FastFailException
171173 */
172174 public function getEnabledModules ()
173175 {
@@ -201,7 +203,7 @@ public function getEnabledModules()
201203 "MAGENTO_ADMIN_USERNAME " => getenv ("MAGENTO_ADMIN_USERNAME " ),
202204 "MAGENTO_ADMIN_PASSWORD " => getenv ("MAGENTO_ADMIN_PASSWORD " ),
203205 ];
204- throw new TestFrameworkException ($ message , $ context );
206+ throw new FastFailException ($ message , $ context );
205207 }
206208
207209 $ this ->enabledModules = json_decode ($ response );
@@ -215,6 +217,7 @@ public function getEnabledModules()
215217 * @param boolean $verbosePath
216218 * @return array
217219 * @throws TestFrameworkException
220+ * @throws FastFailException
218221 */
219222 public function getModulesPath ($ verbosePath = false )
220223 {
0 commit comments