|
@@ -0,0 +1,27 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+/**
|
|
|
+ * Tests the Minion library
|
|
|
+ *
|
|
|
+ * @group kohana
|
|
|
+ * @group kohana.core
|
|
|
+ * @group kohana.core.config
|
|
|
+ *
|
|
|
+ * @package Koseven
|
|
|
+ * @category Tests
|
|
|
+ * @author Koseven Team
|
|
|
+ * @author Piotr Gołasz <pgolasz@gmail.com>
|
|
|
+ * @copyright (c) Koseven Team
|
|
|
+ * @license https://koseven.ga/LICENSE.md
|
|
|
+ */
|
|
|
+class MinionTaskTest extends Unittest_TestCase {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Tests that Minion Task Help works assuming all other tasks work aswell
|
|
|
+ */
|
|
|
+ public function test_minion_runnable()
|
|
|
+ {
|
|
|
+ $minion_response = Minion_Task::factory(['task' => 'help']);
|
|
|
+ $this->assertInstanceOf('Task_Help', $minion_response);
|
|
|
+ }
|
|
|
+}
|