Skip to content

Commit 4ab0abf

Browse files
committed
Try to fix JS API Tests (Take 2)
1 parent 35375c8 commit 4ab0abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/qunit/wp-includes/js/wp-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
} else if ( 'Posts' === modelType ) {
407407
expectedMetas = '{"meta_key":"meta_value","footnotes":""}';
408408
} else if ( 'Comments' === modelType ) {
409-
expectedMetas = '{"meta_key":"meta_value"},"_wp_note_status":null';
409+
expectedMetas = '{"_wp_note_status":null,"meta_key":"meta_value"}';
410410
}
411411

412412
// Verify the meta object returned correctly from `getMetas()`.

0 commit comments

Comments
 (0)