Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Make changes to JHtmlBehaviorTest setup because of failing tests. #549

Merged
merged 1 commit into from

2 participants

@elinw

24 tests in JHtmlBehavior were failing because of missing $_SERVER['HTTP_HOST'], probably this showed up for me because of the order in which the tests were run.

@ianmacl ianmacl merged commit c383b95 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/suite/joomla/html/html/JHtmlBehaviorTest.php
View
1  tests/suite/joomla/html/html/JHtmlBehaviorTest.php
@@ -63,6 +63,7 @@ class JHtmlBehaviorTest extends JoomlaTestCase
protected function setUp()
{
$this->saveFactoryState();
+ $_SERVER['HTTP_HOST'] = 'example.com';
}
/**
Something went wrong with that request. Please try again.