mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Looking for travis exit problem
This commit is contained in:
parent
8eae514bee
commit
18fdb2669a
@ -16,6 +16,19 @@ class FeatureTestCaseTest extends FeatureTestCase
|
||||
$this->skipEvents();
|
||||
}
|
||||
|
||||
public function testCallGet()
|
||||
{
|
||||
$this->withRoutes([
|
||||
['get', 'home', function() {
|
||||
return 'Hello World';
|
||||
}]
|
||||
]);
|
||||
$response = $this->get('home');
|
||||
|
||||
$response->assertSee('Hello World');
|
||||
$response->assertDontSee('Again');
|
||||
}
|
||||
|
||||
public function testCallSimpleGet()
|
||||
{
|
||||
$this->withRoutes([
|
||||
@ -32,19 +45,6 @@ class FeatureTestCaseTest extends FeatureTestCase
|
||||
$this->assertEquals(200, $response->response->getStatusCode());
|
||||
}
|
||||
|
||||
public function testCallGet()
|
||||
{
|
||||
$this->withRoutes([
|
||||
['get', 'home', function() {
|
||||
return 'Hello World';
|
||||
}]
|
||||
]);
|
||||
$response = $this->get('home');
|
||||
|
||||
$response->assertSee('Hello World');
|
||||
$response->assertDontSee('Again');
|
||||
}
|
||||
|
||||
public function testCallPost()
|
||||
{
|
||||
$this->withRoutes([
|
||||
|
Loading…
x
Reference in New Issue
Block a user