Skip to content

Commit

Permalink
Fix tests ContextMocker wrogn country config var
Browse files Browse the repository at this point in the history
  • Loading branch information
PululuK authored Oct 22, 2024
1 parent 9883ee7 commit 9b5fac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Integration/Utility/ContextMocker.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function mockContext()
Shop::setContext(Shop::CONTEXT_SHOP, (int) Context::getContext()->shop->id);
$context->customer = new Customer();
$context->cookie = new Cookie('mycookie');
$context->country = new Country((int) Configuration::get('PS_LANG_DEFAULT'));
$context->country = new Country((int) Configuration::get('PS_COUNTRY_DEFAULT'));
$context->language = new Language((int) Configuration::get('PS_LANG_DEFAULT'));
// Use super admin employee by default
$context->employee = new Employee(1);
Expand Down

0 comments on commit 9b5fac0

Please sign in to comment.