Skip to content

Commit 2e89182

Browse files
committed
Fix tests
1 parent d1ea0cd commit 2e89182

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/functional/seometadata_test.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function test_json_ld()
272272
);
273273
$this->assertSame(1, count($elements['comment']));
274274
$this->assertSame('Comment', $elements['comment'][0]['@type']);
275-
$this->assertSame('http://localhost/forum/viewtopic.php?p=1#p1', $elements['comment'][0]['identifier']);
275+
$this->assertSame('http://localhost/viewtopic.php?p=1#p1', $elements['comment'][0]['identifier']);
276276
$this->assertSame('This is an example post in your phpBB3 installation. Everything seems to be working. You may delete this post if you like and continue to set up your board. During the installation process your first category and your first forum are assigned an appropriate set of permissions for the predefined usergroups administrators, bots, global moderators, guests, registered users and registered COPPA users. If you also choose to delete your first category and your first forum, do not forget to assign permissions for all these usergroups for all new categories and forums you create. It is recommended to rename your first category and your first forum and copy permissions from these while creating new categories and forums. Have fun!', $elements['comment'][0]['text']);
277277
$this->assertSame('Person', $elements['comment'][0]['author']['@type']);
278278
$this->assertSame('admin', $elements['comment'][0]['author']['name']);
@@ -282,6 +282,7 @@ public function test_json_ld()
282282
public function test_extracted_image_first_found_local()
283283
{
284284
$this->login();
285+
$this->update_config(['seo_metadata_local_images' => '1']);
285286

286287
$data = [
287288
'title' => 'SEO Metadata functional test 1',

0 commit comments

Comments
 (0)