Skip to content

Commit

Permalink
fix(timezone): fixing bug
Browse files Browse the repository at this point in the history
Removing bad test
  • Loading branch information
awjudd committed Oct 26, 2023
1 parent 824b578 commit 04dfc2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/TimezoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,20 @@ 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(
'America/Toronto',
$result
);
}
}
}

0 comments on commit 04dfc2e

Please sign in to comment.