You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Had a problem with making request in Helper class using REST and Symfony modules in a way to get an open api spec before suite
Codeception 5.0
PHP 8.0
codeception.yaml
Rest.suite.yml
google said Helper class should be something like this
But
$I->sendGet('/path');
-> method_exists(): Argument #1 ($object_or_class) must be of type object|string, null givenIn InnerBrowser.php line 227
Both modules has no clients at that moment. Clients inits only on _before test steps
Workaround is to setup the client manually
Beta Was this translation helpful? Give feedback.
All reactions