Skip to content

Commit 236a7e0

Browse files
Tests: Remove trailing characters from @ticket annotations.
Follow-up to [44693], [46209], [54230], [54733], [55151]. Props jonsurrell. See #61238. git-svn-id: https://develop.svn.wordpress.org/trunk@58164 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 9614cf5 commit 236a7e0

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

tests/phpunit/tests/cron.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ public function filter_pre_scheduled_event_hooks() {
598598
* When no timestamp is specified, the next event should be returned.
599599
* When a timestamp is specified, a particular event should be returned.
600600
*
601-
* @ticket 45976.
601+
* @ticket 45976
602602
*
603603
* @covers ::wp_get_scheduled_event
604604
*/
@@ -643,7 +643,7 @@ public function test_get_scheduled_event_singles() {
643643
* When no timestamp is specified, the next event should be returned.
644644
* When a timestamp is specified, a particular event should be returned.
645645
*
646-
* @ticket 45976.
646+
* @ticket 45976
647647
*
648648
* @covers ::wp_get_scheduled_event
649649
*/
@@ -689,7 +689,7 @@ public function test_get_scheduled_event_recurring() {
689689
/**
690690
* Ensure wp_get_scheduled_event() returns false when expected.
691691
*
692-
* @ticket 45976.
692+
* @ticket 45976
693693
*
694694
* @covers ::wp_get_scheduled_event
695695
*/

tests/phpunit/tests/db.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,7 @@ public function data_prepare_with_placeholders() {
16851685
),
16861686

16871687
/*
1688-
* @ticket 56933.
1688+
* @ticket 56933
16891689
* When preparing a '%%%s%%', test that the inserted value
16901690
* is not wrapped in single quotes between the 2 "%".
16911691
*/
@@ -1838,7 +1838,7 @@ public function data_prepare_with_placeholders() {
18381838
),
18391839

18401840
/*
1841-
* @ticket 52506.
1841+
* @ticket 52506
18421842
* Adding an escape method for Identifiers (e.g. table/field names).
18431843
*/
18441844
array(

tests/phpunit/tests/formatting/date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public function data_timezone_provider() {
240240
'timezone_string' => '',
241241
'gmt_offset' => 3,
242242
),
243-
// @ticket 56468.
243+
// @ticket 56468
244244
'deprecated timezone string and no GMT offset set' => array(
245245
'timezone_string' => 'America/Buenos_Aires',
246246
'gmt_offset' => 0,

tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function test_group_html_generation_single_data_item() {
4444
* Test when a multiple data items are passed.
4545
*
4646
* @ticket 44044
47-
* @ticket 46895 Updated to remove </h2> from test to avoid Count introducing failure.
47+
* @ticket 46895
4848
*/
4949
public function test_group_html_generation_multiple_data_items() {
5050
$data = array(
@@ -75,6 +75,7 @@ public function test_group_html_generation_multiple_data_items() {
7575

7676
$actual = wp_privacy_generate_personal_data_export_group_html( $data, 'test-data-group', 2 );
7777

78+
// Updated to remove </h2> from test to avoid Count introducing failure (ticket #46895).
7879
$this->assertStringContainsString( '<h2 id="test-data-group-test-data-group">Test Data Group', $actual );
7980
$this->assertStringContainsString( '<td>Field 1 Value', $actual );
8081
$this->assertStringContainsString( '<td>Another Field 1 Value', $actual );

0 commit comments

Comments
 (0)