Reformatted and checked everything. [skip ci]

This commit is contained in:
James Cole
2014-07-25 13:02:01 +02:00
parent bcd48f2e49
commit 30d5b88769
45 changed files with 980 additions and 330 deletions

View File

@@ -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');
}