Fix styling
This commit is contained in:
1 parent
db87a5d45f
commit
aee28b3450
7 files changed
+18
-17
No files matched your search
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
arch('it will not use debugging functions')
|
||||
->expect(['dd', 'dump', 'ray'])
|
||||
->each->not->toBeUsed();
|
||||
->each->not->toBeUsed();
|
||||
@@ -1,8 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Mattitja\Cision\Cision;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Str;
|
||||
use Mattitja\Cision\Cision;
|
||||
|
||||
it('can fetch press releases from the RSS feed', function () {
|
||||
Http::fake([
|
||||
@@ -25,7 +24,7 @@ it('can fetch and parse full article content', function () {
|
||||
'news.cision.com/*' => Http::response(file_get_contents(__DIR__.'/Fixtures/article.html')),
|
||||
]);
|
||||
|
||||
$cision = new Cision();
|
||||
$cision = new Cision;
|
||||
$content = $cision->fetchContent('https://news.cision.com/se/example/r/test,c123456');
|
||||
|
||||
expect($content)->toHaveKeys(['header', 'published_at', 'content']);
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
use Mattitja\Cision\Tests\TestCase;
|
||||
|
||||
uses(TestCase::class)->in(__DIR__);
|
||||
uses(TestCase::class)->in(__DIR__);
|
||||
+1
-1
@@ -34,4 +34,4 @@ class TestCase extends Orchestra
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user