We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adea8fb commit 01772bfCopy full SHA for 01772bf
1 file changed
tests/Provider/FileProviderTest.php
@@ -170,8 +170,10 @@ public function testCleanUp()
170
$this->mockMessageAge($id, 3600);
171
172
$provider->cleanUp();
173
- $messages = $provider->receive();
174
- $this->assertEmpty($messages);
+
+ $finder = new Finder();
175
+ $files = $finder->files()->in($this->basePath . DIRECTORY_SEPARATOR . $this->queueHash);
176
+ $this->assertCount(0, $files);
177
}
178
179
/**
0 commit comments