CRM-17860 - SettingTest::testCreateInvalidURLSettings - Fail for the right reasons
authorTim Otten <totten@civicrm.org>
Fri, 22 Jan 2016 23:17:33 +0000 (15:17 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 2 Feb 2016 04:56:23 +0000 (21:56 -0700)
commita552196023a2bb3ad29c10300d39acdafae29fed
tree285342df03f759b47babd8bf6c20372292e72403
parentf6e5533a167a78cb4fc8b70a2a44fe02eab9a3e7
CRM-17860 - SettingTest::testCreateInvalidURLSettings - Fail for the right reasons

The test checks that invalid URLs return an error.  The URLs given where
invalid -- but for the wrong reason.  In unit-tests, `CIVICRM_UF_BASEURL`
defaulted to the invalid `http://FIX ME`.

After unifying `civicrm.settings.php`, the `CIVICRM_UF_BASEURL` was valid.

The intention in the test was to include a weird character (`*`) to make the
test fail, but we need a weirder/more-incorrect character.
tests/phpunit/api/v3/SettingTest.php