mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
Replaced with strict assertions
This commit is contained in:
@@ -49,7 +49,7 @@ class StrategyTest extends TestCase
|
||||
$elements = $obj->executeStrategy($collection);
|
||||
|
||||
$firstElement = array_shift($elements);
|
||||
$this->assertEquals($expected, $firstElement);
|
||||
$this->assertSame($expected, $firstElement);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,6 +64,6 @@ class StrategyTest extends TestCase
|
||||
$elements = $obj->executeStrategy($collection);
|
||||
|
||||
$firstElement = array_shift($elements);
|
||||
$this->assertEquals($expected, $firstElement);
|
||||
$this->assertSame($expected, $firstElement);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user