7
7
namespace Magento \FunctionalTestingFramework \Util ;
8
8
9
9
use Magento \FunctionalTestingFramework \Config \MftfApplicationConfig ;
10
+ use Magento \FunctionalTestingFramework \Exceptions \FastFailException ;
10
11
use Magento \FunctionalTestingFramework \Exceptions \TestFrameworkException ;
11
12
use Magento \FunctionalTestingFramework \Util \ModuleResolver \ModuleResolverService ;
12
13
use Magento \FunctionalTestingFramework \Util \Logger \LoggingUtil ;
@@ -168,6 +169,7 @@ private function __construct()
168
169
*
169
170
* @return array
170
171
* @throws TestFrameworkException
172
+ * @throws FastFailException
171
173
*/
172
174
public function getEnabledModules ()
173
175
{
@@ -201,7 +203,7 @@ public function getEnabledModules()
201
203
"MAGENTO_ADMIN_USERNAME " => getenv ("MAGENTO_ADMIN_USERNAME " ),
202
204
"MAGENTO_ADMIN_PASSWORD " => getenv ("MAGENTO_ADMIN_PASSWORD " ),
203
205
];
204
- throw new TestFrameworkException ($ message , $ context );
206
+ throw new FastFailException ($ message , $ context );
205
207
}
206
208
207
209
$ this ->enabledModules = json_decode ($ response );
@@ -215,6 +217,7 @@ public function getEnabledModules()
215
217
* @param boolean $verbosePath
216
218
* @return array
217
219
* @throws TestFrameworkException
220
+ * @throws FastFailException
218
221
*/
219
222
public function getModulesPath ($ verbosePath = false )
220
223
{
0 commit comments