Skip to content

Commit

Permalink
magento#27044 Add case: Get Category without $storeId provided
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Feb 27, 2020
1 parent 2d15e91 commit 8ad33f5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ public function testGetCategoryForProvidedStore()
{
$categoryRepository = $this->repositoryFactory->create();

$categoryDefault = $categoryRepository->get(
self::FIXTURE_TWO_STORES_CATEGORY_ID
);

$this->assertSame('category-defaultstore', $categoryDefault->getUrlKey());

$categoryFirstStore = $categoryRepository->get(
self::FIXTURE_TWO_STORES_CATEGORY_ID,
self::FIXTURE_FIRST_STORE_CODE
Expand Down

0 comments on commit 8ad33f5

Please sign in to comment.