diff --git a/tests/TimezoneTest.php b/tests/TimezoneTest.php index 8d41000..0f22a5a 100644 --- a/tests/TimezoneTest.php +++ b/tests/TimezoneTest.php @@ -74,15 +74,15 @@ public function timezone_gives_an_invalid_property_exception_if_you_access_somet } /** - * @return void + * @test */ - public function timezone_returns_the_provided_timezone() + public function timezone_returns_the_name_if_asked() { // Arrange $subject = new Timezone('America/Toronto'); // Act - $result = $subject->timezone; + $result = $subject->name; // Assert $this->assertEquals( @@ -90,4 +90,4 @@ public function timezone_returns_the_provided_timezone() $result ); } -} \ No newline at end of file +}