Skip to content

Commit

Permalink
Merge 338562a into 1dedd25
Browse files Browse the repository at this point in the history
  • Loading branch information
robertprice committed Sep 2, 2016
2 parents 1dedd25 + 338562a commit 8cfb19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function (ContainerInterface $container) {
*/
public function testGetWithErrorThrownByFactoryClosure()
{
$invokable = $this->getMockBuilder('TestClass')->setMethods(['__invoke'])->getMock();
$invokable = $this->getMockBuilder('stdClass')->setMethods(['__invoke'])->getMock();
/** @var \Callable $invokable */
$invokable->expects($this->any())
->method('__invoke')
Expand Down
2 changes: 1 addition & 1 deletion tests/DeferredCallableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function testItResolvesCallable()

public function testItBindsClosuresToContainer()
{
$assertCalled = $this->getMock('fooClass', ['foo']);
$assertCalled = $this->getMock('stdClass', ['foo']);
$assertCalled
->expects($this->once())
->method('foo');
Expand Down

0 comments on commit 8cfb19b

Please sign in to comment.