Is it possible to override the Site object with own fixture during Front End tests of a Plugin?

OK, this is frustrating.

It looks as though the value of the Site object is set here:

And cannot be overridden?

I’ve checked this out by modifying the fixture in core (here: discourse/app/assets/javascripts/discourse/tests/fixtures/site-fixtures.js at 93a4012ecb3af7306de0c51283d6dd2b2e90818c · discourse/discourse · GitHub) and it picks up my modification.

But I don’t want that, I want to override it in my plugin test with a fixture stored in my plugin.

To re-iterate, I’m able to do that for the scope of the test code but once the plugin code is running, the scope appears to pick up the site object that relates to the fixture loaded by the core test helper …

:thinking: