File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/integration/testsuite/Magento/MediaContentCatalog/Model/ResourceModel Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function testProduct(): void
47
47
$ product = $ this ->productRepository ->get ('simple ' );
48
48
$ this ->assertEquals (
49
49
'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 ' ])
51
51
);
52
52
}
53
53
@@ -61,7 +61,7 @@ public function testProductTwoWebsites(): void
61
61
$ product = $ this ->productRepository ->get ('simple-on-two-websites-different-description ' );
62
62
$ this ->assertEquals (
63
63
'<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 ' ])
65
65
);
66
66
}
67
67
}
You can’t perform that action at this time.
0 commit comments