mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
Replaced with strict assertions
This commit is contained in:
@@ -15,7 +15,7 @@ class AdapterTest extends TestCase
|
||||
$book->open();
|
||||
$book->turnPage();
|
||||
|
||||
$this->assertEquals(2, $book->getPage());
|
||||
$this->assertSame(2, $book->getPage());
|
||||
}
|
||||
|
||||
public function testCanTurnPageOnKindleLikeInANormalBook()
|
||||
@@ -26,6 +26,6 @@ class AdapterTest extends TestCase
|
||||
$book->open();
|
||||
$book->turnPage();
|
||||
|
||||
$this->assertEquals(2, $book->getPage());
|
||||
$this->assertSame(2, $book->getPage());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user