diff --git a/bruno/neon-sprawl-server/faction-standing/Get faction standing default.bru b/bruno/neon-sprawl-server/faction-standing/Get faction standing default.bru index 0dff7d0..b5a620b 100644 --- a/bruno/neon-sprawl-server/faction-standing/Get faction standing default.bru +++ b/bruno/neon-sprawl-server/faction-standing/Get faction standing default.bru @@ -22,7 +22,7 @@ tests { expect(res.getHeader("content-type")).to.contain("application/json"); const body = res.getBody(); expect(body.schemaVersion).to.equal(1); - expect(body.playerId).to.equal(bru.getVar("playerId")); + expect(body.playerId).to.equal(bru.getEnvVar("playerId") || bru.getVar("playerId") || "dev-local-1"); expect(body.factions).to.be.an("array"); expect(body.factions.length).to.equal(2); const byId = Object.fromEntries(body.factions.map((row) => [row.id, row.standing]));