From 325c107d5f4fabe27a8a2cfaf1f8adb7ba395605 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 13 Mar 2015 18:24:59 -0500 Subject: [PATCH] Minor - Improve unit tests consistency --- tests/phpunit/classes/AccessTest.class.php | 110 --------------------- 1 file changed, 110 deletions(-) delete mode 100755 tests/phpunit/classes/AccessTest.class.php diff --git a/tests/phpunit/classes/AccessTest.class.php b/tests/phpunit/classes/AccessTest.class.php deleted file mode 100755 index 0a43f9efc2..0000000000 --- a/tests/phpunit/classes/AccessTest.class.php +++ /dev/null @@ -1,110 +0,0 @@ -object = new Access; - } - - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - */ - protected function tearDown() - { - } - - /** - * Generated from @assert () !== null. - * - * @covers Access::all - */ - public function testAll() - { - $this->assertNotSame( - null, - Access::all() - ); - } - - /** - * Generated from @assert () === null. - * - * @covers Access::forbidden - */ - public function testForbidden() - { - $this->assertSame( - null, - Access::forbidden() - ); - } - - /** - * Generated from @assert () === false. - * - * @covers Access::is_token_valid - */ - public function testIs_token_valid() - { - $this->assertSame( - false, - $this->object->is_token_valid() - ); - } - - /** - * Generated from @assert () !== null. - * - * @covers Access::get_session_token - */ - public function testGet_session_token() - { - $this->assertNotSame( - null, - $this->object->get_session_token() - ); - } - - /** - * Generated from @assert () === false. - * - * @covers Access::authorize - */ - public function testAuthorize() - { - $this->assertSame( - false, - $this->object->authorize() - ); - } - - /** - * @covers Access::get_token - * @todo Implement testGet_token(). - */ - public function testGet_token() - { - // Remove the following lines when you implement this test. - $this->markTestIncomplete( - 'This test has not been implemented yet.' - ); - } -}