mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 20:20:15 +02:00
Replaced with strict assertions
This commit is contained in:
@@ -23,7 +23,7 @@ class IteratorTest extends TestCase
|
||||
$books[] = $book->getAuthorAndTitle();
|
||||
}
|
||||
|
||||
$this->assertEquals(
|
||||
$this->assertSame(
|
||||
[
|
||||
'Learning PHP Design Patterns by William Sanders',
|
||||
'Professional Php Design Patterns by Aaron Saray',
|
||||
@@ -48,7 +48,7 @@ class IteratorTest extends TestCase
|
||||
$books[] = $book->getAuthorAndTitle();
|
||||
}
|
||||
|
||||
$this->assertEquals(
|
||||
$this->assertSame(
|
||||
['Professional Php Design Patterns by Aaron Saray'],
|
||||
$books
|
||||
);
|
||||
|
Reference in New Issue
Block a user