Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarlium committed Nov 25, 2015
1 parent 8b3c6ce commit f56fe4c
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -19,11 +19,7 @@ class GitHubMarkdownEngineTest extends MarkdownExtensionTest
*/
public function testParseMarkdown($template, $expected, $context = array())
{
try {
$this->assertEquals($expected, $this->getTemplate($template)->render($context));
} catch (\Exception $e) {
$this->markTestSkipped($e->getMessage());
}
$this->assertEquals($expected, $this->getTemplate($template)->render($context));
}

public function getParseMarkdownTests()
Expand All @@ -40,6 +36,7 @@ public function getParseMarkdownTests()
protected function getEngine()
{
$client = new Client();
$client->authenticate(getenv('COMPOSER_OAUTH'));

if ($client->rateLimit()->getCoreLimit() < 1) {
$this->markTestSkipped('The github API rate limit is reached, so this engine cannot be tested.');
Expand Down

0 comments on commit f56fe4c

Please sign in to comment.