From: Maxim Mamontov Date: Wed, 14 Sep 2011 11:17:25 +0000 (+0300) Subject: Add authorization in test users class X-Git-Tag: 2.408-rc1~70 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6f0e2096e9604b62afdc9b6edc5f783cc11d5f3a?ds=inline Add authorization in test users class --- 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; };