X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/25e5ba1bdfefce82ff8e4bb0221de19a538b4d3c..a8689998a9b2cfc17dc260b423cce8ff2e407adb:/tests/testusers.h?ds=sidebyside diff --git a/tests/testusers.h b/tests/testusers.h index bbf48063..b207ccb6 100644 --- a/tests/testusers.h +++ b/tests/testusers.h @@ -21,8 +21,13 @@ 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; } - int GetUserNum() const { return 0; } + virtual size_t Count() const { return 0; }; int FindByIPIdx(uint32_t /*ip*/, USER_PTR * /*user*/) const { return -1; }