diff --git a/tests/Aauth/Database/UserModelTest.php b/tests/Aauth/Database/UserModelTest.php new file mode 100644 index 0000000..4976639 --- /dev/null +++ b/tests/Aauth/Database/UserModelTest.php @@ -0,0 +1,31 @@ +model = new UserModel(); + } + + //-------------------------------------------------------------------- + + public function testFindReturnsRow() + { + $user = $this->model->find(1); + $this->assertEquals('admin', $user['username']); + } + +}