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 241947f commit f85c0f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Phue/Test/Command/UpdateRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ public function testSend()
$mockClient
->shouldReceive('getTransport->sendRequest');

$command = new UpdateRule('5');
$command = (new UpdateRule('5'))
->addCondition(Mockery::mock('\Phue\Condition')->makePartial())
->addAction(Mockery::mock('\Phue\Command\ActionableInterface')->shouldIgnoreMissing())
->send($mockClient);
}
}

0 comments on commit f85c0f3

Please sign in to comment.