mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-13 18:24:13 +00:00
Reformatted and checked everything. [skip ci]
This commit is contained in:
@@ -64,7 +64,7 @@ class UserControllerTest extends TestCase
|
||||
// test
|
||||
$this->call('GET', '/register');
|
||||
$this->assertResponseStatus(200);
|
||||
$this->assertViewHas('message','Not possible');
|
||||
$this->assertViewHas('message', 'Not possible');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -94,7 +94,6 @@ class UserControllerTest extends TestCase
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Register and verify FAILED:
|
||||
*/
|
||||
@@ -189,7 +188,7 @@ class UserControllerTest extends TestCase
|
||||
|
||||
$this->call('POST', '/remindme');
|
||||
$this->assertResponseOk();
|
||||
$this->assertSessionHas('error','No good!');
|
||||
$this->assertSessionHas('error', 'No good!');
|
||||
}
|
||||
|
||||
public function testPostRegisterNotAllowed()
|
||||
@@ -207,7 +206,7 @@ class UserControllerTest extends TestCase
|
||||
// test
|
||||
$this->call('POST', '/register', $data);
|
||||
$this->assertResponseStatus(200);
|
||||
$this->assertViewHas('message','Not possible');
|
||||
$this->assertViewHas('message', 'Not possible');
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user