From 9360eb6a70608133c1a2befc18796d24698b23df Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 19 Jan 2016 13:53:55 +0100 Subject: [PATCH] First account controller test. --- .../Controllers/AccountControllerTest.php | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 tests/acceptance/Controllers/AccountControllerTest.php diff --git a/tests/acceptance/Controllers/AccountControllerTest.php b/tests/acceptance/Controllers/AccountControllerTest.php new file mode 100644 index 0000000000..e1942c0e70 --- /dev/null +++ b/tests/acceptance/Controllers/AccountControllerTest.php @@ -0,0 +1,65 @@ +be($this->user()); + $response = $this->call('GET', '/accounts/create/asset'); + $this->assertEquals(200, $response->status()); + } + + public function testDelete() + { + $this->be($this->user()); + $response = $this->call('GET', '/accounts/delete/1'); + $this->assertEquals(200, $response->status()); + } + + public function testDestroy() + { + $this->markTestIncomplete(); + } + + public function testEdit() + { + $this->be($this->user()); + $response = $this->call('GET', '/accounts/edit/1'); + $this->assertEquals(200, $response->status()); + } + + public function testIndex() + { + $this->be($this->user()); + $response = $this->call('GET', '/accounts/asset'); + $this->assertEquals(200, $response->status()); + } + + public function testShow() + { + $this->be($this->user()); + $response = $this->call('GET', '/accounts/show/1'); + $this->assertEquals(200, $response->status()); + } + + public function testStore() + { + $this->markTestIncomplete(); + } + + public function testUpdate() + { + $this->markTestIncomplete(); + } + +}