File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
app/code/Magento/CmsUrlRewrite/Plugin/Cms/Model/Store
dev/tests/integration/testsuite/Magento/CmsUrlRewrite/Plugin/Cms/Model/Store Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ public function __construct(
62
62
}
63
63
64
64
/**
65
+ * Replace cms page url rewrites on store view save
66
+ *
65
67
* @param ResourceStore $object
66
68
* @param \Closure $proceed
67
69
* @param AbstractModel $store
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ protected function setUp()
57
57
$ this ->urlFinder = $ this ->objectManager ->create (UrlFinderInterface::class);
58
58
$ this ->storeFactory = $ this ->objectManager ->create (StoreFactory::class);
59
59
$ this ->websiteRepository = $ this ->objectManager ->get (WebsiteRepositoryInterface::class);
60
- $ this ->storeCode = 'test_ ' . mt_rand ( );
60
+ $ this ->storeCode = 'test_ ' . random_int ( 0 , 999 );
61
61
}
62
62
63
63
/**
You can’t perform that action at this time.
0 commit comments