Skip to content
Browse files

* all tests are mocked were necessary, no API key necessary

  • Loading branch information...
1 parent cd8508b commit 9aa46a65f09063d09eec35e44aae03d0a23596fd @till till committed
Showing with 1 addition and 4 deletions.
  1. +1 −4 tests/Services/NYTimes/NewswireTest.php
View
5 tests/Services/NYTimes/NewswireTest.php
@@ -40,10 +40,7 @@ class NewswireTest extends TestCase
*/
protected function setUp()
{
- if (!defined('NEWSWIRE_API_KEY')) {
- $this->markTestSkipped("This requires an API key.");
- }
- $this->nw = new Newswire(NEWSWIRE_API_KEY);
+ $this->nw = new Newswire('foo');
}
/**

0 comments on commit 9aa46a6

Please sign in to comment.
Something went wrong with that request. Please try again.