Skip to content

Instantly share code, notes, and snippets.

@octalmage
Created August 1, 2017 20:13
Show Gist options
  • Save octalmage/2a000f25a9171c1ca66f5cb81f75a703 to your computer and use it in GitHub Desktop.
Save octalmage/2a000f25a9171c1ca66f5cb81f75a703 to your computer and use it in GitHub Desktop.
{
"tests": "96",
"failures": "5",
"errors": "0",
"testsuites": {
"Tests_Meta": {
"name": "Tests_Meta",
"tests": "18",
"failures": "1",
"errors": "0",
"testcases": {
"test_user_metadata_not_exists": {
"name": "test_user_metadata_not_exists",
"failure": "Tests_Meta::test_user_metadata_not_existsnFailed asserting that 8 matches expected 2.nn/home/public/test/tests/phpunit/tests/meta.php:149n"
}
}
},
"Tests_Meta_DeleteMetadata": {
"name": "Tests_Meta_DeleteMetadata",
"tests": "8",
"failures": "4",
"errors": "0",
"testcases": {
"test_with_falsey_meta_value_should_not_delete_all_meta": {
"name": "test_with_falsey_meta_value_should_not_delete_all_meta",
"failure": "Tests_Meta_DeleteMetadata::test_with_falsey_meta_value_should_not_delete_all_metanFailed asserting that two arrays are equal.n--- Expectedn+++ Actualn@@ @@n Array (n 0 => '0'n- 1 => '1'n- 2 => '2'n+ 1 => '0'n+ 2 => '1'n+ 3 => '2'n+ 4 => '2'n )nn/home/public/test/tests/phpunit/includes/testcase.php:514n/home/public/test/tests/phpunit/tests/meta/deleteMetadata.php:43n"
},
"test_meta_value_should_be_ignored_when_empty_string": {
"name": "test_meta_value_should_be_ignored_when_empty_string",
"failure": "Tests_Meta_DeleteMetadata::test_meta_value_should_be_ignored_when_empty_stringnFailed asserting that two arrays are equal.n--- Expectedn+++ Actualn@@ @@n Array (n 0 => ''n 1 => '0'n- 2 => '1'n- 3 => '2'n+ 2 => '0'n+ 3 => '0'n+ 4 => '1'n+ 5 => '1'n+ 6 => '2'n+ 7 => '2'n+ 8 => '2'n )nn/home/public/test/tests/phpunit/includes/testcase.php:514n/home/public/test/tests/phpunit/tests/meta/deleteMetadata.php:62n"
},
"test_meta_value_should_be_ignored_when_null": {
"name": "test_meta_value_should_be_ignored_when_null",
"failure": "Tests_Meta_DeleteMetadata::test_meta_value_should_be_ignored_when_nullnFailed asserting that two arrays are equal.n--- Expectedn+++ Actualn@@ @@n Array (n 0 => ''n- 1 => '0'n- 2 => '1'n- 3 => '2'n+ 1 => ''n+ 2 => '0'n+ 3 => '0'n+ 4 => '0'n+ 5 => '0'n+ 6 => '1'n+ 7 => '1'n+ 8 => '1'n+ 9 => '2'n+ 10 => '2'n+ 11 => '2'n+ 12 => '2'n )nn/home/public/test/tests/phpunit/includes/testcase.php:514n/home/public/test/tests/phpunit/tests/meta/deleteMetadata.php:78n"
},
"test_meta_value_should_be_ignored_when_false": {
"name": "test_meta_value_should_be_ignored_when_false",
"failure": "Tests_Meta_DeleteMetadata::test_meta_value_should_be_ignored_when_falsenFailed asserting that two arrays are equal.n--- Expectedn+++ Actualn@@ @@n Array (n 0 => ''n- 1 => '0'n- 2 => '1'n- 3 => '2'n+ 1 => ''n+ 2 => ''n+ 3 => '0'n+ 4 => '0'n+ 5 => '0'n+ 6 => '0'n+ 7 => '0'n+ 8 => '1'n+ 9 => '1'n+ 10 => '1'n+ 11 => '1'n+ 12 => '2'n+ 13 => '2'n+ 14 => '2'n+ 15 => '2'n+ 16 => '2'n )nn/home/public/test/tests/phpunit/includes/testcase.php:514n/home/public/test/tests/phpunit/tests/meta/deleteMetadata.php:94n"
}
}
},
"Tests_Meta_Query": {
"name": "Tests_Meta_Query",
"tests": "36",
"failures": "0",
"errors": "0",
"testcases": []
},
"Tests_Meta_Register_Meta": {
"name": "Tests_Meta_Register_Meta",
"tests": "25",
"failures": "0",
"errors": "0",
"testcases": []
},
"Tests_Meta_Slashes": {
"name": "Tests_Meta_Slashes",
"tests": "7",
"failures": "0",
"errors": "0",
"testcases": []
},
"Tests_Meta_UpdateMetadata": {
"name": "Tests_Meta_UpdateMetadata",
"tests": "2",
"failures": "0",
"errors": "0",
"testcases": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment