[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:
Lukas Brübach 2026-11-09 16:02:47 +01:00
parent 2187e47a60
commit 7b8558c695
8 changed files with 34 additions and 167 deletions

View file

@ -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>