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
318 stars 213 forks source link

Flaky test: e_formTest: Render link #4032

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

4) e_formTest: Render link
 Test  tests/unit/e_formTest.php:testRenderLink
Failed asserting that two strings are equal.
- Expected | + Actual
@@ @@
-'<a class='e-tip'  href='./vendor/bin/feed/rss-sefurl/rss/5'  title='Click Here' >Some text</a>'
+'<a class='e-tip'  href='./vendor/bin/e107_plugins/rss_menu/rss.php?cat=rss-sefurl&type=2&topic=5'  title='Click Here' >Some text</a>'
e107inc/e107-test#1  /home/deltik/PhpstormProjects/e107-test/tests/unit/e_formTest.php:1102
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.