Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: [SOLVED] phpunit test

phpunit test 5 months 2 weeks ago #1

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 10
I am trying to run the unit test inside Test folder.

I am running this command:
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/TestCase

I am receiving this answer:


The administrator has disabled public write access.

phpunit test 5 months 2 weeks ago #2

  • fisharebest
  • fisharebest's Avatar
  • Online
  • Administrator
  • Posts: 12272
This is the expected output.

TestCase.php is a base class, that creates the test environment.

It doesn't do any testing of its own.

All the other tests extend this class.


There is a phpunit.xml.dist file included - so all you need to do is run

vendor/bin/phpunit
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

[SOLVED] phpunit test 5 months 2 weeks ago #3

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 10
Problem solved.
The administrator has disabled public write access.
Powered by Kunena Forum