1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 12:14:06 +02:00

[ticket/17514] Replace phpBB3 with phpBB in tests

PHPBB-17514
This commit is contained in:
Marc Alexander
2025-05-20 20:59:40 +02:00
parent 7fe8188b78
commit 5d3f0cd482
9 changed files with 32 additions and 32 deletions

View File

@@ -227,7 +227,7 @@ class test_ucp_controller_webpush_test extends phpbb_database_test_case
$this->assertEquals([
'heading' => 'yourdomain.com',
'title' => 'Quoted by Guest in:',
'text' => '"Welcome to phpBB3"',
'text' => '"Welcome to phpBB"',
'url' => 'phpBB/viewtopic.php?p=1#p1',
'avatar' => [],
], $response_data);
@@ -285,7 +285,7 @@ class test_ucp_controller_webpush_test extends phpbb_database_test_case
$this->assertEquals([
'heading' => 'yourdomain.com',
'title' => 'Quoted by Guest in:',
'text' => '"Welcome to phpBB3"',
'text' => '"Welcome to phpBB"',
'url' => 'phpBB/viewtopic.php?p=1#p1',
'avatar' => [],
], $response_data);
@@ -393,7 +393,7 @@ class test_ucp_controller_webpush_test extends phpbb_database_test_case
$this->assertEquals([
'heading' => 'yourdomain.com',
'title' => 'Quoted by Guest in:',
'text' => '"Welcome to phpBB3"',
'text' => '"Welcome to phpBB"',
'url' => 'phpBB/viewtopic.php?p=1#p1',
'avatar' => [],
], $response_data);

View File

@@ -9,7 +9,7 @@
<column>notification_time</column>
<row>
<value>1</value>
<value><![CDATA[{"item_id":1,"notification_type_id":4,"item_parent_id":1,"notification_time":1738437884,"notification_read":false,"notification_data":"a:6:{s:9:\"poster_id\";i:3;s:11:\"topic_title\";s:17:\"Welcome to phpBB3\";s:12:\"post_subject\";s:21:\"Re: Welcome to phpBB3\";s:13:\"post_username\";s:0:\"\";s:8:\"forum_id\";i:2;s:10:\"forum_name\";s:16:\"Your first forum\";}","user_id":2,"notification_type_name":"notification.type.quote"}]]></value>
<value><![CDATA[{"item_id":1,"notification_type_id":4,"item_parent_id":1,"notification_time":1738437884,"notification_read":false,"notification_data":"a:6:{s:9:\"poster_id\";i:3;s:11:\"topic_title\";s:16:\"Welcome to phpBB\";s:12:\"post_subject\";s:20:\"Re: Welcome to phpBB\";s:13:\"post_username\";s:0:\"\";s:8:\"forum_id\";i:2;s:10:\"forum_name\";s:16:\"Your first forum\";}","user_id":2,"notification_type_name":"notification.type.quote"}]]></value>
<value>488c17afe4f18714c235b395e21b78df1c3d78bf1e13d0633ed9425d2eebf967</value>
<value>2</value>
<value>4</value>
@@ -17,7 +17,7 @@
</row>
<row>
<value>2</value>
<value><![CDATA[{"heading":"yourdomain.com","title":"Quoted by Guest in:","text":"\"Welcome to phpBB3\"","url":"phpBB\/viewtopic.php?p=1#p1","avatar":[]}]]></value>
<value><![CDATA[{"heading":"yourdomain.com","title":"Quoted by Guest in:","text":"\"Welcome to phpBB\"","url":"phpBB\/viewtopic.php?p=1#p1","avatar":[]}]]></value>
<value>488c17afe4f18714c235b395e21b78df1c3d78bf1e13d0633ed9425d2eebf967</value>
<value>2</value>
<value>4</value>