[Unit] Add disableShopContext util function

This commit is contained in:
Rafikooo 2024-09-06 09:06:43 +02:00
parent a276fa2990
commit db3e259356
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B

View file

@ -79,6 +79,11 @@ abstract class JsonApiTestCase extends BaseJsonApiTestCase
$this->isAdminContext = false;
}
protected function disableShopUserContext(): void
{
$this->isShopUserContext = false;
}
protected function setUpDefaultGetHeaders(): void
{
$this->defaultGetHeaders = [