File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 88namespace tests \unit \Magento \FunctionalTestFramework \DataGenerator \Handlers ;
99
1010use Exception ;
11+ use Magento \FunctionalTestingFramework \DataGenerator \Handlers \DataObjectHandler ;
1112use Magento \FunctionalTestingFramework \DataGenerator \Handlers \PersistedObjectHandler ;
1213use Magento \FunctionalTestingFramework \DataGenerator \Parsers \DataProfileSchemaParser ;
1314use Magento \FunctionalTestingFramework \DataGenerator \Persist \CurlHandler ;
1415use Magento \FunctionalTestingFramework \Exceptions \TestFrameworkException ;
1516use Magento \FunctionalTestingFramework \Exceptions \TestReferenceException ;
1617use Magento \FunctionalTestingFramework \ObjectManager ;
1718use Magento \FunctionalTestingFramework \ObjectManagerFactory ;
18- use Magento \FunctionalTestingFramework \DataGenerator \Handlers \DataObjectHandler ;
1919use ReflectionProperty ;
2020use tests \unit \Util \MagentoTestCase ;
21- use tests \unit \Util \ObjectHandlerUtil ;
2221use tests \unit \Util \TestLoggingUtil ;
2322
2423/**
@@ -261,15 +260,14 @@ public function testUpdateSimpleEntity(): void
261260 " ;
262261
263262 // Mock Classes
264- ObjectHandlerUtil::mockDataObjectHandlerWithData ($ parserOutput );
265- $ this ->mockCurlHandler ($ jsonResponse );
263+ $ this ->mockCurlHandler ($ jsonResponse , $ parserOutput );
266264 $ handler = PersistedObjectHandler::getInstance ();
267265 $ handler ->createEntity (
268266 $ entityStepKey ,
269267 $ scope ,
270268 $ entityName
271269 );
272- $ this ->mockCurlHandler ($ updatedResponse );
270+ $ this ->mockCurlHandler ($ updatedResponse, $ parserOutput );
273271
274272 // Call method
275273 $ handler ->updateEntity (
You can’t perform that action at this time.
0 commit comments