We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isTravis
1 parent e549f28 commit beecbb5Copy full SHA for beecbb5
tests/Helpers/ApplicationHelpersTest.php
@@ -5,7 +5,8 @@ class ApplicationHelpersTest extends TestCase
5
/** @test */
6
public function it_can_check_if_tests_are_running_on_travis()
7
{
8
- $this->assertEquals(getenv('TRAVIS'), $this->isTravis());
+ $expected = (bool) getenv('TRAVIS');
9
+ $this->assertEquals($expected, $this->isTravis());
10
}
11
12
0 commit comments