We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 179e7cf commit e124460Copy full SHA for e124460
tests/phpunit/tests/menu/wpAjaxMenuQuickSearch.php
@@ -18,12 +18,14 @@ public function test_search_returns_results_for_pages() {
18
array(
19
'post_type' => 'page',
20
'post_content' => 'foo',
21
+ 'post_title' => 'foo',
22
)
23
);
24
self::factory()->post->create(
25
26
27
'post_content' => 'bar',
28
+ 'post_title' => 'bar',
29
30
31
@@ -132,7 +134,7 @@ public function test_search_returns_post_types_with_numeric_slugs() {
132
134
133
135
136
- 'post_title' => 'Post Title 123',
137
+ 'post_title' => 'Post Title 123 FOO',
138
'post_type' => 'wptests_123',
139
'post_status' => 'publish',
140
'post_content' => 'FOO',
0 commit comments