Merge branch 'master' into feature/refresh-auth

This commit is contained in:
Justin Foell
2019-09-13 12:13:44 -05:00
9 changed files with 246 additions and 17 deletions
+12
View File
@@ -80,4 +80,16 @@ class WPStrava_SOMEnglishTest extends TestCase {
$this->assertEquals( '01:20:05', $this->som->time( 4805 ) );
}
/**
* Test that 221071 seconds is 61:24:31 time (H:i:s) using both string and float inputs.
*
* @author Justin Foell <justin@foell.org>
* @since 1.7.2
*/
public function test_time_greater24h() {
$this->assertEquals( '61:24:31', $this->som->time( '221071' ) );
$this->assertEquals( '61:24:31', $this->som->time( 221071 ) );
}
}