Commit e27f0077 authored by alexpott's avatar alexpott

Issue #2374201 by YesCT: Docs and quote coding standard follow-up from:...

Issue #2374201 by YesCT: Docs and quote coding standard follow-up from: Incorrect logic in creating url to fetch information about project updates
parent cc06a92a
......@@ -88,7 +88,7 @@ public function providerTestUpdateBuildFetchUrl() {
$data[] = array($project, $site_key, $expected);
// For enabled projects, adding the site key
// For enabled projects, test adding the site key.
$project['project_type'] = '';
$expected = 'http://www.example.com/' . $project['name'] . '/' . DRUPAL_CORE_COMPATIBILITY;
$expected .= '?site_key=site_key';
......@@ -96,8 +96,7 @@ public function providerTestUpdateBuildFetchUrl() {
$data[] = array($project, $site_key, $expected);
// http://drupal.org/node/1481156 test incorrect logic when URL contains
// a question mark.
// Test when the URL contains a question mark.
$project['info']['project status url'] = 'http://www.example.com/?project=';
$expected = 'http://www.example.com/?project=/' . $project['name'] . '/' . DRUPAL_CORE_COMPATIBILITY;
$expected .= '&site_key=site_key';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment