Skip to content

Commit beecbb5

Browse files
committed
ITT: isTravis helper method tests fixed.
1 parent e549f28 commit beecbb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Helpers/ApplicationHelpersTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ class ApplicationHelpersTest extends TestCase
55
/** @test */
66
public function it_can_check_if_tests_are_running_on_travis()
77
{
8-
$this->assertEquals(getenv('TRAVIS'), $this->isTravis());
8+
$expected = (bool) getenv('TRAVIS');
9+
$this->assertEquals($expected, $this->isTravis());
910
}
1011

1112
/** @test */

0 commit comments

Comments
 (0)