summaryrefslogtreecommitdiff
path: root/tests/Unit/Controllers/Metrics
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-10-08 14:18:51 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-10-08 14:30:18 +0200
commit810068dcf811b17805ee9958b877a827bf8125ed (patch)
tree9b64b9db3b0ced08580445f7fbccedbf155ac674 /tests/Unit/Controllers/Metrics
parentae0816ce8de46c38cd6f4b6d95abb17a6703d280 (diff)
Fixes: AuthController session error merging and StatsTest
Diffstat (limited to 'tests/Unit/Controllers/Metrics')
-rw-r--r--tests/Unit/Controllers/Metrics/StatsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Controllers/Metrics/StatsTest.php b/tests/Unit/Controllers/Metrics/StatsTest.php
index fa78d8c3..9204f7db 100644
--- a/tests/Unit/Controllers/Metrics/StatsTest.php
+++ b/tests/Unit/Controllers/Metrics/StatsTest.php
@@ -155,8 +155,8 @@ class StatsTest extends TestCase
$this->initDatabase();
$this->addUsers();
- (new PasswordReset(['use_id' => 1, 'token' => 'loremIpsum123']))->save();
- (new PasswordReset(['use_id' => 3, 'token' => '5omeR4nd0mTok3N']))->save();
+ (new PasswordReset(['user_id' => 1, 'token' => 'loremIpsum123']))->save();
+ (new PasswordReset(['user_id' => 3, 'token' => '5omeR4nd0mTok3N']))->save();
$stats = new Stats($this->database);
$this->assertEquals(2, $stats->passwordResets());