projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9386f6
)
[REF] Fix Unit test failure on WordPress due to changes in cv handling of URLs
author
Seamus Lee
<seamuslee001@gmail.com>
Sun, 9 Jul 2023 08:35:51 +0000
(18:35 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Sun, 9 Jul 2023 08:35:51 +0000
(18:35 +1000)
tests/phpunit/E2E/Core/PathUrlTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/E2E/Core/PathUrlTest.php
b/tests/phpunit/E2E/Core/PathUrlTest.php
index c555ccc6f01dd06efd065304d14347b0c5b742a7..2fd0f4c121a0eedf73a589d8a4a39c46d22e11bd 100644
(file)
--- a/
tests/phpunit/E2E/Core/PathUrlTest.php
+++ b/
tests/phpunit/E2E/Core/PathUrlTest.php
@@
-103,7
+103,7
@@
class PathUrlTest extends \CiviEndToEndTestCase {
// WORKAROUND: There's some issue where the URL gets a diff value in WP E2E env
// than in normal WP env. The `cv url` command seems to behave more
// representatively, though this technique is harder to inspect with xdebug.
- $url = cv('url civicrm/contribute?reset=1');
+ $url = cv('url civicrm/contribute?reset=1
--entry=backend
');
// $url = \CRM_Utils_System::url('civicrm/contribute', 'reset=1', TRUE, NULL, FALSE);
$parts = parse_url($url);