File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
dev/tests/integration/testsuite/Magento/CatalogUrlRewrite/Model Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1818use Magento \Framework \ObjectManagerInterface ;
1919use Magento \TestFramework \Helper \Bootstrap ;
2020use Magento \UrlRewrite \Model \OptionProvider ;
21+ use Magento \UrlRewrite \Model \Storage \DbStorage ;
2122use Magento \UrlRewrite \Model \UrlFinderInterface ;
2223use Magento \UrlRewrite \Service \V1 \Data \UrlRewrite ;
2324use PHPUnit \Framework \Exception ;
@@ -47,7 +48,7 @@ public function testGenerateUrlRewritesWithoutSaveHistory()
4748 {
4849 $ resource = $ this ->objectManager ->get (ResourceConnection::class);
4950 $ connection = $ resource ->getConnection ();
50- $ connection ->delete (' url_rewrite ' );
51+ $ connection ->delete (DbStorage:: TABLE_NAME );
5152 /** @var Category $category */
5253 $ category = $ this ->objectManager ->create (Category::class);
5354 $ category ->load (3 );
You can’t perform that action at this time.
0 commit comments