Skip to content

Commit 45f445c

Browse files
committed
Fix tests
1 parent 1f6a365 commit 45f445c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/functional/acp_seometadata_test.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ public function test_update_acp_form_settings()
185185
);
186186

187187
$this->assertSame(1, $elements['open_graph']['width']->count());
188-
$this->assertSame(640, (int) $elements['open_graph']['width']->attr('content'));
188+
$this->assertSame(250, (int) $elements['open_graph']['width']->attr('content'));
189189

190190
$this->assertSame(1, $elements['open_graph']['height']->count());
191-
$this->assertSame(480, (int) $elements['open_graph']['height']->attr('content'));
191+
$this->assertSame(200, (int) $elements['open_graph']['height']->attr('content'));
192192

193193
$this->assertSame(1, $elements['open_graph']['type']->count());
194194
$this->assertSame('image/png', $elements['open_graph']['type']->attr('content'));

tests/functional/seometadata_test.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ public function test_post_reply_metadata()
527527
$data = [
528528
'title' => 'SEO Metadata functional test 5',
529529
'body' => 'Post reply test' . PHP_EOL . PHP_EOL .
530-
'[img]https://placehold.co/250x200/fff/000.png[/img]'
530+
'[img]https://help.duckduckgo.com/duckduckgo-help-pages/images/fb5a7e58b23313e8c852b2f9ec6a2f6a.png[/img]'
531531
];
532532

533533
$post = $this->create_post(
@@ -571,7 +571,7 @@ public function test_post_reply_metadata()
571571
$elements['open_graph']['description']->attr('content')
572572
);
573573
$this->assertSame(
574-
'https://placehold.co/250x200/fff/000.png',
574+
'https://help.duckduckgo.com/duckduckgo-help-pages/images/fb5a7e58b23313e8c852b2f9ec6a2f6a.png',
575575
$elements['open_graph']['image']->attr('content')
576576
);
577577
$this->assertSame(250, (int) $elements['open_graph']['width']->attr('content'));

0 commit comments

Comments
 (0)