e107inc / e107-test

For developmental use with e107 v2.
2 stars 2 forks source link

Flaky test: e107_user_extendedTest: Get structure #26

Closed Deltik closed 5 years ago

Deltik commented 5 years ago

Test author: @CaMer0n Dependent on other tests?: Yes Cause of failure: The outcome of this test depends on another test that runs in the unit test suite. This test needs to be corrected so that it always returns the same result regardless of the order in which it is run.

Failure Message

5) e107_user_extendedTest: Get structure
 Test  tests/unit/e107_user_extendedTest.php:testGetStructure
Failed asserting that two arrays are equal.
- Expected | + Actual
@@ @@
'user_addon' => Array (...)
'user_country' => Array (...)
'user_richtextarea' => Array (...)
+    'user_plugin_forum_viewed' => Array (...)
+    'user_plugin_forum_posts' => Array (...)
)
#1  /home/deltik/PhpstormProjects/e107-test/tests/unit/e107_user_extendedTest.php:308
CaMer0n commented 5 years ago

@Deltik This should be fixed now.

Deltik commented 5 years ago

Seems to be fixed in ed5fdfc0704353d4d0cc5f5198d5d0747bf2ce21