Fixed failing test

This commit is contained in:
mathiaspalmqvist committed 2025-07-04 21:43:17 +02:00
1 parent 36f60cbb3c
commit 2c768ff5d4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -24,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('test-company');
$content = $cision->fetchContent('https://news.cision.com/se/example/r/test,c123456');
expect($content)->toHaveKeys(['header', 'published_at', 'content']);