From 401e9c924531da0067a09123b3c36b02bc2a5776 Mon Sep 17 00:00:00 2001 From: Dmitrii Metelkin Date: Sat, 27 Aug 2016 15:58:55 +1000 Subject: [PATCH] Update fake key manager in case to implement a new interface --- tests/fake_userkey_manager.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/fake_userkey_manager.php b/tests/fake_userkey_manager.php index edd235e..54586eb 100644 --- a/tests/fake_userkey_manager.php +++ b/tests/fake_userkey_manager.php @@ -27,11 +27,15 @@ namespace auth_userkey; class fake_userkey_manager implements userkey_manager_interface { - public function create_key() { + public function create_key($userid, $allowedips = null) { return 'FaKeKeyFoRtEsTiNg'; } - public function delete_key() { + public function delete_keys($userid) { + // TODO: Implement delete_keys() method. + } + public function validate_key($keyvalue) { + // TODO: Implement validate_key() method. } } \ No newline at end of file