From a449f64fcee308fa50d3b7d7888d1ee8760bbcb9 Mon Sep 17 00:00:00 2001 From: REJack Date: Sun, 10 Feb 2019 19:37:36 +0100 Subject: [PATCH] added workaround for codeigniter4/CodeIgniter4#1689 --- tests/Aauth/Database/UserModelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Aauth/Database/UserModelTest.php b/tests/Aauth/Database/UserModelTest.php index 8ab08dd..156f483 100644 --- a/tests/Aauth/Database/UserModelTest.php +++ b/tests/Aauth/Database/UserModelTest.php @@ -92,6 +92,6 @@ class UserModelTest extends CIDatabaseTestCase $config->loginUseUsername = true; $this->model = new UserModel($this->db, null, $config); - $this->assertFalse($this->model->insert(['email' => 'test@test.local', 'password' => 'password123456'])); + $this->assertFalse($this->model->insert(['email' => 'test@test.local', 'password' => 'password123456', 'username' => ''])); } }