1 parent c18af08 commit 6fc12d0Copy full SHA for 6fc12d0
1 file changed
tests/phpunit/tests/post/wpPublishPost.php
@@ -88,7 +88,7 @@ public function test_wp_update_post_with_content_filtering() {
88
89
$post_id = wp_insert_post(
90
array(
91
- 'post_title' => '<script>Test</script>',
+ 'post_title' => 'Talking about: <script>Test</script>',
92
)
93
);
94
$post = get_post( $post_id );
@@ -107,7 +107,7 @@ public function test_wp_update_post_with_content_filtering() {
107
kses_remove_filters();
108
109
$post = get_post( $post->ID );
110
- $this->assertSame( 'Test', $post->post_title );
+ $this->assertSame( 'Talking about: ', $post->post_title );
111
}
112
113
/**
0 commit comments