We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f1a66 commit 908d39dCopy full SHA for 908d39d
tests/test-runner.php
@@ -0,0 +1,17 @@
1
+<?php
2
+use \Terminus\Runner;
3
+use \Terminus;
4
+
5
+class RunnerTest extends PHPUnit_Framework_TestCase {
6
7
+ function testRunCommand() {
8
+ $runner = Terminus::get_runner();
9
+ $this->assertInstanceOf('\Terminus\Runner',$runner);
10
+ $args = array('site');
11
+ $assoc_args = array('site' => 'phpunittest');
12
+ $return = $runner->run_command($args, $assoc_args);
13
+ // @todo null here is expected
14
+ $this->assertNull($return);
15
+ }
16
17
+}
0 commit comments