mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-02 13:07:27 +02:00
Merge pull request #351 from Littlesqx/master
typo: wrong variable name
This commit is contained in:
@@ -20,8 +20,8 @@ class JourneyTest extends TestCase
|
|||||||
|
|
||||||
public function testCanGetOnAJourneyToACity()
|
public function testCanGetOnAJourneyToACity()
|
||||||
{
|
{
|
||||||
$beachJourney = new TemplateMethod\CityJourney();
|
$cityJourney = new TemplateMethod\CityJourney();
|
||||||
$beachJourney->takeATrip();
|
$cityJourney->takeATrip();
|
||||||
|
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
[
|
[
|
||||||
@@ -31,7 +31,7 @@ class JourneyTest extends TestCase
|
|||||||
'Buy a gift',
|
'Buy a gift',
|
||||||
'Taking the plane'
|
'Taking the plane'
|
||||||
],
|
],
|
||||||
$beachJourney->getThingsToDo()
|
$cityJourney->getThingsToDo()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user