mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 20:13:24 -08:00
[Tests] Migrate server tests to the shared fixture
Replace the remaining private MockDatabaseInterface/FakeServer copies in the forced-password, room-channel, movecard, and random-reveal tests with InMemoryServer_DatabaseInterface and ServerTestFixture. The room-channel test keeps its log assertions against the shared logEntries; the forced-password test seeds its moderator user and auth result through the fixture knobs. Delete movecard_tests/server_test_helpers.h.
This commit is contained in:
parent
2187e47a60
commit
7b8558c695
8 changed files with 34 additions and 167 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#include "libcockatrice/protocol/pb/serverinfo_zone.pb.h"
|
||||
#include "server_response_containers.h"
|
||||
#include "server_room.h"
|
||||
#include "server_test_helpers.h"
|
||||
#include "support/server_test_fixture.h"
|
||||
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue