Skip to content

Commit

Permalink
Changing the function mktime() to time()
Browse files Browse the repository at this point in the history
  • Loading branch information
armanist committed Dec 29, 2019
1 parent 36b3e94 commit 4644dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/AuthServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testUpdate()

$this->assertEmpty($user['remember_token']);

$rememberToken = base64_encode(mktime());
$rememberToken = base64_encode(time());

$this->authService->update('username', $user['username'], [
'remember_token' => $rememberToken
Expand Down

0 comments on commit 4644dda

Please # to comment.