mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-24 17:42:25 +00:00
Update zone/cli/tests/cli_zone_state.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
fe772f6eeb
commit
2666d624eb
@ -1013,6 +1013,10 @@ inline void TestClientBuffPersistenceRollback()
|
||||
"CHANGE `suppressed_bkp` `suppressed` tinyint(1) unsigned NOT NULL DEFAULT 0"
|
||||
);
|
||||
RunTest("Client Buff Persistence > Rollback: column restore succeeded", true, restore_result.Success());
|
||||
if (!restore_result.Success()) {
|
||||
// Fail fast to avoid running further tests with a broken schema
|
||||
return;
|
||||
}
|
||||
|
||||
// Pre-existing rows must still be present because the transaction was rolled back
|
||||
const auto rows_after = CharacterBuffsRepository::GetWhere(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user