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
hello!
I checked a bit the code and it doesn't look like this feature can be disabled by the environments key and that the only way to not run is to remove it from the features key.
publicfunctionsetupUp() : void
{
parent::setUp();
config(['honey.features' => []]);
Honey::disable();
// More cool stuff here
}
If I don't explicitly reset honey.features, the spammers test is still done.
I can't remember much about it, but I think it's linked to the test being done in the constructor
Hello,
I'm trying to deactivate any action from this package in my tests (as it doesn't make sense + I don't have to setup spammers table, etc).
My problem is that it still tries to access the
spammers
table even if I callHoney::disable();
.My
honey.environments
is as follow:Any idea how I could disable all actions from the package to run my tests ?
Thank you!
The text was updated successfully, but these errors were encountered: