From 6f0e2096e9604b62afdc9b6edc5f783cc11d5f3a Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 14 Sep 2011 14:17:25 +0300 Subject: [PATCH] Add authorization in test users class --- tests/testusers.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/testusers.h b/tests/testusers.h index 780d0dd9..b207ccb6 100644 --- a/tests/testusers.h +++ b/tests/testusers.h @@ -21,6 +21,11 @@ class TEST_USERS : public USERS { { return 0; } void Del(const std::string & /*login*/, const ADMIN * /*admin*/) {} + bool Authorize(const std::string &, uint32_t, uint32_t, const AUTH *) + { return false; } + bool Unauthorize(const std::string &, const AUTH *) + { return false; } + int ReadUsers() { return 0; } virtual size_t Count() const { return 0; }; -- 2.44.2