Browse files

Fixing false logic

  • Loading branch information...
1 parent ae0730b commit 7dddb21f59313f7b5f03274da7d9fc92a2a1181b @ianmacl committed Apr 30, 2012
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
@@ -30,7 +30,7 @@ protected function setUp()
{
$this->options = $this->getMock('JRegistry', array('get', 'set'));
- if (!defined('JTEST_HTTP_STUB') || getenv('JTEST_HTTP_STUB') == '')
+ if (!defined('JTEST_HTTP_STUB') && getenv('JTEST_HTTP_STUB') == '')
{
$this->markTestSkipped('The JHttpTransport test stub has not been configured');
}

0 comments on commit 7dddb21

Please sign in to comment.