Merge pull request #351 from Littlesqx/master

typo: wrong variable name
This commit is contained in:
Dominik Liebler
2018-12-27 10:36:07 +01:00
committed by GitHub

View File

@@ -20,8 +20,8 @@ class JourneyTest extends TestCase
public function testCanGetOnAJourneyToACity()
{
$beachJourney = new TemplateMethod\CityJourney();
$beachJourney->takeATrip();
$cityJourney = new TemplateMethod\CityJourney();
$cityJourney->takeATrip();
$this->assertSame(
[
@@ -31,7 +31,7 @@ class JourneyTest extends TestCase
'Buy a gift',
'Taking the plane'
],
$beachJourney->getThingsToDo()
$cityJourney->getThingsToDo()
);
}
}