Skip to content

Commit c80630b

Browse files
committed
#27948: Fixed integration tests
1 parent bb1e926 commit c80630b

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/MediaContentCatalog/Model/ResourceModel

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/MediaContentCatalog/Model/ResourceModel/GetContentTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testProduct(): void
4747
$product = $this->productRepository->get('simple');
4848
$this->assertEquals(
4949
'Description with <b>html tag</b>',
50-
$this->getContent->execute((int) $product->getEntityId(), $product->getAttributes()['description'])
50+
$this->getContent->execute((int) $product->getId(), $product->getAttributes()['description'])
5151
);
5252
}
5353

@@ -61,7 +61,7 @@ public function testProductTwoWebsites(): void
6161
$product = $this->productRepository->get('simple-on-two-websites-different-description');
6262
$this->assertEquals(
6363
'<p>Product base description</p>' . PHP_EOL . '<p>Product second description</p>',
64-
$this->getContent->execute((int) $product->getEntityId(), $product->getAttributes()['description'])
64+
$this->getContent->execute((int) $product->getId(), $product->getAttributes()['description'])
6565
);
6666
}
6767
}

0 commit comments

Comments
 (0)