File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,3 +35,4 @@ modules:
3535 - \OxidEsales\GraphQL\Base\Tests\Codeception\Module\AcceptanceHelper :
3636 depends :
3737 - REST
38+ - \OxidEsales\Codeception\Module\OxideshopModules
Original file line number Diff line number Diff line change 1818use Lcobucci \JWT \Token ;
1919use Lcobucci \JWT \Token \Parser ;
2020use OxidEsales \EshopCommunity \Internal \Container \ContainerFactory ;
21- use OxidEsales \Facts \Facts ;
2221use OxidEsales \GraphQL \Base \Service \JwtConfigurationBuilder ;
2322use PHPUnit \Framework \AssertionFailedError ;
2423use Symfony \Component \BrowserKit \CookieJar ;
@@ -46,25 +45,6 @@ public function getRest(): REST
4645 return $ this ->rest ;
4746 }
4847
49- public function _beforeSuite ($ settings = []): void // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
50- {
51- $ rootPath = (new Facts ())->getShopRootPath ();
52- $ possiblePaths = [
53- '/bin/oe-console ' ,
54- '/vendor/bin/oe-console ' ,
55- ];
56-
57- foreach ($ possiblePaths as $ path ) {
58- if (is_file ($ rootPath . $ path )) {
59- exec ($ rootPath . $ path . ' oe:module:activate oe_graphql_base ' );
60-
61- return ;
62- }
63- }
64-
65- throw new Exception ('Could not find script "/bin/oe-console" to activate module ' );
66- }
67-
6848 public function sendGQLQuery (
6949 string $ query ,
7050 ?array $ variables = null ,
You can’t perform that action at this time.
0 commit comments