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() 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()
); );
} }
} }