Skip to content

Commit c29ac25

Browse files
author
Igor Melnikov
committed
MAGETWO-63450: Create integration tests for ThemeProvider
- refactoring
1 parent b462237 commit c29ac25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Theme/Model/Theme/ThemeProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testGetThemeById()
4040
{
4141
/** @var Theme $theme */
4242
foreach ($this->themeCollection as $theme) {
43-
$this->assertEquals(
43+
$this->assertSame(
4444
$this->themeProvider1->getThemeById($theme->getId())->getData(),
4545
$this->themeProvider2->getThemeById($theme->getId())->getData()
4646
);
@@ -51,7 +51,7 @@ public function testGetThemeByFullPath()
5151
{
5252
/** @var Theme $theme */
5353
foreach ($this->themeCollection as $theme) {
54-
$this->assertEquals(
54+
$this->assertSame(
5555
$this->themeProvider1->getThemeByFullPath($theme->getFullPath())->getData(),
5656
$this->themeProvider2->getThemeByFullPath($theme->getFullPath())->getData()
5757
);

0 commit comments

Comments
 (0)