File tree Expand file tree Collapse file tree 3 files changed +0
-26
lines changed Expand file tree Collapse file tree 3 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ Laravel-specific Testing Helpers and Assertions.
74
74
- [emulateLocal](# emulatelocal)
75
75
- [emulateProduction](# emulateproduction)
76
76
- [emulateEnvironment](# emulateenvironment)
77
- - [isTravis](# istravis)
78
77
79
78
# # Available assertions
80
79
@@ -161,16 +160,6 @@ Emulate that application is running on the given environment:
161
160
$this -> emulateEnvironment(' demo' );
162
161
` ` `
163
162
164
- # ### `isTravis()`
165
-
166
- Check whether the application is running on Travis or not:
167
-
168
- ` ` ` php
169
- $this->isTravis ();
170
-
171
- // true
172
- ` ` `
173
-
174
163
# # Assertions
175
164
176
165
# ## CollectionAsserts
Original file line number Diff line number Diff line change @@ -31,12 +31,4 @@ protected function emulateEnvironment(string $environment): void
31
31
return $ environment ;
32
32
});
33
33
}
34
-
35
- /**
36
- * Check whether the application is running on Travis or not.
37
- */
38
- protected function isTravis (): bool
39
- {
40
- return (bool ) getenv ('TRAVIS ' );
41
- }
42
34
}
Original file line number Diff line number Diff line change @@ -29,11 +29,4 @@ public function it_can_emulate_any_environment()
29
29
30
30
$ this ->assertEquals ('demo ' , $ this ->app ->environment ());
31
31
}
32
-
33
- /** @test */
34
- public function it_can_check_if_tests_are_running_on_travis ()
35
- {
36
- $ expected = (bool ) getenv ('TRAVIS ' );
37
- $ this ->assertEquals ($ expected , $ this ->isTravis ());
38
- }
39
32
}
You can’t perform that action at this time.
0 commit comments