-
I have an assertion
$this->assertRedirectToUrlRegExp('#.*/wishlist/index/index/.*#');
This fails:
Failed asserting that request header "Location" value matches PCRE pattern "#.*/wishlis…
amenk updated
11 years ago
-
In https://herbmiller.me/requirements-for-permalink-postname/ I've documented my requirements for a permalink structure of `/%postname%/`.
The above (perma)link applies to both a page and a post. …
-
I have this slightly nasty case here, I am not sure if this can be addressed to be honest but I thought I'd report anyway so it can be discussed.
This utility method in a test class creates a mock, a…
-
PHPUnit provides [`@testdox` annotation](https://docs.phpunit.de/en/10.4/annotations.html#testdox), which allows custom titles for test classes and test methods. However, Codewars reporter emits `` an…
-
As I'm sure all of the developers know, when composer install is run we always get the message "Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested."…
-
Hello,
how are you?
I got this little fixture:
```
scope:
website: # Initialize websites
- website_id: 2
code: usa_website
name: USA Website
default_group_id: 2
```
And just…
-
Hi,
I'm getting some trouble while trying to migrate an old zf 1.11 app to 1.12 using composer. Indeed, one of my test case use the Zend_Test_PHPUnit_Db_DataSet_QueryTable class which extends the PHP…
-
suggestions:
both based on phpunit and able to call selenium webdriver:
* baseMinkTestcase.php , http://www.bbc.co.uk/blogs/internet/entries/79fd4cb1-621e-4a7c-923d-08df8956c675 , https://github.c…
-
Currently, this package's version constraint for PHPUnit (4.*) allows for CakePHP 3.4.1 but not any newer versions, as CakePHP 3.4.2 requires PHPUnit >=5.7.
-
Hi,
If I use "console write" in objects of `Zend\Mvc\Console\Controller\AbstractConsoleController`, when testing, it outputs the content and `assertConsoleOutputContents` don't recognize the output.
…