[dokuwiki] Why are Wrap unit tests failing?

  • From: Anika Henke <anika@xxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 03 Mar 2018 14:43:55 +0000

Hi,

I recently started working on the Wrap plugin again but am stuck with a problem 
with the Unit tests I cannot solve.

I noticed that all open PRs are failing since a certain time 
[https://github.com/selfthinker/dokuwiki_plugin_wrap/pulls]. The first thing I ;
did (in a branch) was to update the PHP versions the tests should run against 
because the old `.travis.yml` file included lots of older versions DokuWiki 
doesn't support anymore.
But that is still failing with `PHP Fatal error: Class 
'PHPUnit_Framework_TestCase' not found`, see 
https://travis-ci.org/selfthinker/dokuwiki_plugin_wrap/builds/343139106.

I found this which seems to address that very issue but within the core and not 
a plugin: https://github.com/splitbrain/dokuwiki/issues/1837

How can I fix this?
I don't have much knowledge of PHPUnit, and without a fix I cannot merge any of 
the PRs.

Thanks,
Anika
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: