Skip to content

Commit

Permalink
add assertion to resolve risky test.
Browse files Browse the repository at this point in the history
  • Loading branch information
abacaphiliac committed May 24, 2017
1 parent 93bfd03 commit f74d030
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public function testCreateServiceWithName()
)
);

$factory->createServiceWithName($serviceLocator, 'default', 'default');
$logger = $factory->createServiceWithName($serviceLocator, 'default', 'default');

self::assertInstanceOf('\Monolog\Logger', $logger);
}
}

0 comments on commit f74d030

Please sign in to comment.