Closed (fixed)
Project:
One Time Password
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2020 at 13:37 UTC
Updated:
15 Apr 2020 at 01:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ankithashettyReplaced the deprecated functions to make it drupal 9 ready. Please review the following patch file.
Thank You.
Comment #3
kim.pepperThere are a few more deprecations:
Comment #5
kim.pepperFix test fails.
Comment #6
sam152 commentedCouple of things left to get it passing on 9.0
Comment #7
kim.pepperFixed failing D9 tests. Also found a bug in
\Drupal\Tests\one_time_password\Kernel\UserFieldAttachTest::testFieldAccessThese lines:
$this->assertFalse($this->user->one_time_password->access('delete'), $admin);Should be:
$this->assertFalse($this->user->one_time_password->access('delete', $admin));Was brought up by a phpunit warning thinking $admin was the failure message and should be a string. Parameter types+=10
Comment #9
sam152 commentedGood stuff, nice fix.