Skip to content

Commit

Permalink
GitHub #89 - Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmk committed Dec 29, 2014
1 parent f85c0f3 commit 564c0fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Phue/Test/Command/CreateRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ public function testSend()
->shouldReceive('getTransport->sendRequest')
->andReturn((object) ['id' => '5']);

$command = new CreateRule('test');
$command = (new CreateRule('test'))
->addCondition(Mockery::mock('\Phue\Condition')->makePartial())
->addAction(Mockery::mock('\Phue\Command\ActionableInterface')->shouldIgnoreMissing());

$this->assertEquals(
'5',
Expand Down

0 comments on commit 564c0fc

Please sign in to comment.