Skip to content
Snippets Groups Projects
  1. Aug 27, 2017
  2. May 24, 2017
  3. May 21, 2017
  4. May 13, 2017
  5. May 12, 2017
  6. Mar 31, 2017
    • Andreas Gohr's avatar
      mark some tests as non-risky · 1bff2aba
      Andreas Gohr authored
      Those tests either just check that an exception is NOT thrown or are
      there to check dependencies for other tests. Newer phpunits mark all
      tests as risky that have no assertion.
      1bff2aba
  7. Mar 12, 2017
  8. Feb 08, 2017
  9. Feb 05, 2017
  10. Feb 04, 2017
  11. Jan 31, 2017
  12. Jan 17, 2017
    • Michael Grosse's avatar
      Add test to verify that no error occurs · ddb6c308
      Michael Grosse authored
      Without the change in issue #1801, or commit
      1b26d16d respectively, this adjusted
      test would throw an error since it would attempt to use another array as
      an array-key.
      
      The fact that the test passes without error means that the bug is fixed.
      ddb6c308
  13. Jan 01, 2017
  14. Dec 22, 2016
  15. Dec 20, 2016
  16. Dec 12, 2016
  17. Dec 01, 2016
    • Andreas Gohr's avatar
      use waitForTick in all our tests · aaf4f55e
      Andreas Gohr authored
      aaf4f55e
    • Andreas Gohr's avatar
      refactored the remote API tests · b9940551
      Andreas Gohr authored
      Now each command is checked within it's own test on a completely clean
      install. Hopefuly this also takes care of the flaky test behavior seen
      at Travis occasionally.
      b9940551
    • Andreas Gohr's avatar
      new helper method waitForTick() in DokuWikiTest · d732617b
      Andreas Gohr authored
      Some of our tests require that at least one second has passed before
      they can continue because our revisions depend on the Unix Timestamp.
      
      Currently we use a sleep(1) for this. However this always waits a whole
      second, even if the next second is already much closer or maybe already
      here - especially when some processing has been done since the last
      operation.
      
      This new method waits for the next second by checking the time every
      10th of a second. This might speed up some of our tests a bit.
      d732617b
  18. Nov 30, 2016
    • Andreas Gohr's avatar
      do not static cache useheading during tests · 6506eaac
      Andreas Gohr authored
      This took me way to long to figure out. The useheading setting was
      cached in a static variable which is fine usually as it doesn't change
      during a single request. But in testing we want to change it often.
      6506eaac
  19. Nov 28, 2016
  20. Aug 30, 2016
  21. Aug 09, 2016
    • Andreas Gohr's avatar
      fix tests for newer PHPUnit. fixes #1643 · db5867f1
      Andreas Gohr authored
      getMock is deprecated in new PHPUnit versions and createMock is the
      recommended replacement. However that one is not available in older
      PHPUnit releases. Since we still support older PHP releases we have to
      support older PHPUnit releases as well.
      
      This add some compatibility functions to our TestCase class and replaces
      all calls to getMock. Tested with PHPUnit 4.6.6 and 5.5.0.
      db5867f1
  22. Jul 01, 2016
  23. Jun 14, 2016
  24. Jun 11, 2016
  25. Jun 10, 2016
  26. Jun 02, 2016
Loading