first commit

This commit is contained in:
zickkeen committed 2024-03-17 11:39:27 +07:00
commit d0e185820a
2710 files changed
+465112

No files matched your search

@@ -0,0 +1,28 @@
<?php
namespace Queue\Test\TestCase\Shell;
use Cake\TestSuite\TestCase;
use Queue\Queue\TaskFinder;
class TaskFinderTest extends TestCase {
/**
* @var \Queue\Queue\TaskFinder
*/
protected $taskFinder;
/**
* @return void
*/
public function testAllAppAndPluginTasks() {
$this->taskFinder = new TaskFinder();
$result = $this->taskFinder->allAppAndPluginTasks();
$this->assertCount(11, $result);
$this->assertTrue(in_array('QueueFoo', $result, true));
$this->assertTrue(!in_array('Foo.QueueFoo', $result, true));
}
}