e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
319 stars 213 forks source link

Flaky test: e_mediaTest: Import file #4033

Open Deltik opened 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

1) e_mediaTest: Import file
 Test  tests/unit/e_mediaTest.php:testImportFile
Failed asserting that two strings are equal.
- Expected | + Actual
@@ @@
-'{e_MEDIA_ICON}icon_64.png'
+'{e_MEDIA_IMAGE}2019-06/icon_64_.png'
e107inc/e107-test#1  /home/deltik/PhpstormProjects/e107-test/tests/unit/e_mediaTest.php:118
Deltik commented 4 years ago

As part of the migration from the e107-test repository to the e107 repository, this test was disabled in ae9f91084b0373f226ad92c539e098cdf320b8c7.