From 70ffa6820f95cdad0d7e5c6fbdbf1a12b7c588ff Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Thu, 14 Sep 2023 09:59:08 +0300 Subject: [PATCH 1/3] Match the original string --- tests/tests/connectors/test-class-connector-comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/connectors/test-class-connector-comments.php b/tests/tests/connectors/test-class-connector-comments.php index ec8dae33a..f2bf1730f 100644 --- a/tests/tests/connectors/test-class-connector-comments.php +++ b/tests/tests/connectors/test-class-connector-comments.php @@ -417,7 +417,7 @@ public function test_callback_transition_comment_status() { ->with( $this->equalTo( _x( - '%1$s\'s %3$s %2$s', + '%1$s\'s %3$s on "%5$s" %2$s', 'Comment status transition. 1: Comment author, 2: Post title, 3: Comment type', 'stream' ) From 4d623b01598da6a1a20b0b09066ee9bc7870ede2 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Thu, 14 Sep 2023 10:02:13 +0300 Subject: [PATCH 2/3] One more change --- tests/tests/connectors/test-class-connector-installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/connectors/test-class-connector-installer.php b/tests/tests/connectors/test-class-connector-installer.php index c0e43603c..761578423 100644 --- a/tests/tests/connectors/test-class-connector-installer.php +++ b/tests/tests/connectors/test-class-connector-installer.php @@ -144,7 +144,7 @@ public function test_callback_switch_theme() { ->method( 'log' ) ->with( $this->equalTo( __( '"%s" theme activated', 'stream' ) ), - $this->equalTo( array( 'name' => 'twentytwenty' ) ), + $this->equalTo( array( 'name' => 'Twenty Twenty' ) ), $this->equalTo( null ), $this->equalTo( 'themes' ), $this->equalTo( 'activated' ) From c687fc0d25ff97b9120753744f3d9ac26528f876 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Thu, 14 Sep 2023 10:23:46 +0300 Subject: [PATCH 3/3] Revert "One more change" This reverts commit 4d623b01598da6a1a20b0b09066ee9bc7870ede2. --- tests/tests/connectors/test-class-connector-installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/connectors/test-class-connector-installer.php b/tests/tests/connectors/test-class-connector-installer.php index 761578423..c0e43603c 100644 --- a/tests/tests/connectors/test-class-connector-installer.php +++ b/tests/tests/connectors/test-class-connector-installer.php @@ -144,7 +144,7 @@ public function test_callback_switch_theme() { ->method( 'log' ) ->with( $this->equalTo( __( '"%s" theme activated', 'stream' ) ), - $this->equalTo( array( 'name' => 'Twenty Twenty' ) ), + $this->equalTo( array( 'name' => 'twentytwenty' ) ), $this->equalTo( null ), $this->equalTo( 'themes' ), $this->equalTo( 'activated' )