summaryrefslogtreecommitdiff
path: root/tests/units/Model/LastLoginTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Model/LastLoginTest.php')
-rw-r--r--tests/units/Model/LastLoginTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/Model/LastLoginTest.php b/tests/units/Model/LastLoginTest.php
index fc5ea1e5..8c291e15 100644
--- a/tests/units/Model/LastLoginTest.php
+++ b/tests/units/Model/LastLoginTest.php
@@ -2,13 +2,13 @@
require_once __DIR__.'/../Base.php';
-use Kanboard\Model\LastLogin;
+use Kanboard\Model\LastLoginModel;
class LastLoginTest extends Base
{
public function testCreate()
{
- $lastLoginModel = new LastLogin($this->container);
+ $lastLoginModel = new LastLoginModel($this->container);
$this->assertTrue($lastLoginModel->create('Test1', 1, '127.0.0.1', 'My browser'));
$this->assertTrue($lastLoginModel->create('Test2', 1, '127.0.0.1', str_repeat('Too long', 50)));
@@ -29,7 +29,7 @@ class LastLoginTest extends Base
public function testCleanup()
{
- $lastLoginModel = new LastLogin($this->container);
+ $lastLoginModel = new LastLoginModel($this->container);
for ($i = 0; $i < $lastLoginModel::NB_LOGINS + 5; $i++) {
$this->assertTrue($lastLoginModel->create('Test' . $i, 1, '127.0.0.1', 'My browser'));