mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
DEV: Fix state leak in QUnit acceptance tests (#17507)
Follow-up to 0525455ef6
This commit is contained in:
parent
e8d802eb86
commit
8ddca5998c
@ -36,9 +36,9 @@ acceptance("Topic list tracking", function (needs) {
|
||||
});
|
||||
|
||||
server.get("/t/11557.json", () => {
|
||||
const topicFixture = topicFixtures["/t/130.json"];
|
||||
const topicFixture = cloneJSON(topicFixtures["/t/130.json"]);
|
||||
topicFixture.id = 11557;
|
||||
return helper.response(cloneJSON(topicFixture));
|
||||
return helper.response(topicFixture);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user