Skip to content

Commit d073d72

Browse files
committed
Modify assertion to assertSame
1 parent 8e93b14 commit d073d72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Search/Test/Unit/Controller/Term/PopularTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testResult()
7979
->method('create')
8080
->willReturn($resultPageMock);
8181

82-
$this->assertEquals($resultPageMock, $this->action->execute());
82+
$this->assertSame($resultPageMock, $this->action->execute());
8383
}
8484

8585
public function testResultWithDisabledPage()
@@ -98,6 +98,6 @@ public function testResultWithDisabledPage()
9898
->method('forward')
9999
->with('noroute');
100100

101-
$this->assertEquals($resultForwardMock, $this->action->execute());
101+
$this->assertSame($resultForwardMock, $this->action->execute());
102102
}
103103
}

0 commit comments

Comments
 (0)