Commit Graph

11 Commits

Author SHA1 Message Date
Steve Boyd
4d6bd1890c MNT Travis shared config, use sminnee/phpunit 2021-01-19 11:33:18 +13:00
Damian Mooyman
15c770b642 Move stepHasTag to trait (#169)
* Move stepHasTag to trait

* Fix tests
2017-08-02 11:48:53 +12:00
Ingo Schommer
9230ce2405 API Upgrade to behat 3 2017-05-05 09:29:23 +12:00
Daniel Hensby
55fd4a81af
Avoid deprecated PHPUnit APIs 2017-03-24 15:17:18 +13:00
Sam Minnee
8c48804b81 FIX: Reply on Core/Core.php being in include path.
This lets us change the location of Core.php as long as we also
manipulate the include path.

This is necessary for https://github.com/silverstripe/silverstripe-framework/pull/6266
2016-11-01 15:09:04 +13:00
Damian Mooyman
7e50e57766 Fix include paths 2016-09-08 16:32:06 +12:00
Damian Mooyman
1eb1004957
Convert to PSR-2 standard
Enforce PHPCS checking
2016-08-10 13:56:30 +12:00
Ingo Schommer
7ef575c961 Don't use PHPUnit backupGlobals, break with 4.x
Unclear why PHPUnit is trying to serialize() data
through its mocking system, but this simple workaround avoids it.

https://phpunit.de/manual/4.8/en/fixtures.html#fixtures.global-state
https://github.com/sebastianbergmann/phpunit/issues/451
http://stackoverflow.com/questions/4366592/symfony-2-doctrine-2-phpunit-3-5-serialization-of-closure-exception
2016-02-24 22:24:07 +13:00
Ingo Schommer
8d49da2609 Fixed Folder::find_or_make() use 2015-10-19 10:55:56 +13:00
Ingo Schommer
b28b179df7 Improved test behaviour (too much mocking) 2015-04-08 08:08:35 +12:00
Ingo Schommer
7db12fc9bb Unit tests 2015-04-07 23:15:22 +12:00