Clearing assertions on each test
This commit is contained in:
parent
7a17d3529f
commit
df45ee89ff
|
|
@ -88,6 +88,11 @@ abstract class TestCase extends Orchestra
|
||||||
if ($this->replicationMode === 'redis') {
|
if ($this->replicationMode === 'redis') {
|
||||||
$this->registerRedis();
|
$this->registerRedis();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (method_exists($this->channelManager, 'getPublishClient')) {
|
||||||
|
$this->getPublishClient()->resetAssertions();
|
||||||
|
$this->getSubscribeClient()->resetAssertions();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue