Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixing defined syntax error - missing quotes #1176

Merged
merged 1 commit into from

2 participants

@ianmacl

defined expects the constant name to be a string and not the evaluated value of the constant.

@LouisLandry LouisLandry merged commit b26781a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 30, 2012
  1. @ianmacl
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/suites/unit/joomla/http/JHttpTransportTest.php
View
2  tests/suites/unit/joomla/http/JHttpTransportTest.php
@@ -36,7 +36,7 @@ protected function setUp()
}
else
{
- $this->stubUrl = defined(JTEST_HTTP_STUB) ? JTEST_HTTP_STUB : getenv('JTEST_HTTP_STUB');
+ $this->stubUrl = defined('JTEST_HTTP_STUB') ? JTEST_HTTP_STUB : getenv('JTEST_HTTP_STUB');
}
}
Something went wrong with that request. Please try again.