MinionTaskTest.php 583 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Tests the Minion library
  4. *
  5. * @group ko7
  6. * @group ko7.core
  7. * @group ko7.core.config
  8. *
  9. * @package Koseven
  10. * @category Tests
  11. *
  12. * @author Piotr Gołasz <pgolasz@gmail.com>
  13. * @copyright (c) Koseven Team
  14. * @license https://koseven.dev/LICENSE
  15. */
  16. class MinionTaskTest extends Unittest_TestCase {
  17. /**
  18. * Tests that Minion Task Help works assuming all other tasks work aswell
  19. */
  20. public function test_minion_runnable()
  21. {
  22. $minion_response = Minion_Task::factory(['task' => 'help']);
  23. $this->assertInstanceOf('Task_Help', $minion_response);
  24. }
  25. }