diff --git a/tests/phpunit/modules/core/message_list_functions.php b/tests/phpunit/modules/core/message_list_functions.php
index 6f03c14810..d435164fdc 100644
--- a/tests/phpunit/modules/core/message_list_functions.php
+++ b/tests/phpunit/modules/core/message_list_functions.php
@@ -63,7 +63,7 @@ function callback($v) { return ''; }
public function test_safe_output_callback() {
$mod = new Hm_Output_Test(array('foo' => 'bar', 'bar' => 'foo'), array('bar'));
$this->assertEquals('
bar | ', safe_output_callback(array('foo', 'bar'), 'email', $mod));
- $this->assertEquals('bar
', safe_output_callback(array('foo', 'bar', 'code'), 'news', $mod));
+ $this->assertEquals('bar
', safe_output_callback(array('foo', 'bar', 'code'), 'news', $mod));
}
/**
* @preserveGlobalState disabled
@@ -81,7 +81,7 @@ public function test_checkbox_callback() {
public function test_subject_callback() {
$mod = new Hm_Output_Test(array('foo' => 'bar', 'bar' => 'foo'), array('bar'));
$this->assertEquals(' | ', subject_callback(array('foo', 'bar', array()), 'email', $mod));
- $this->assertEquals('', subject_callback(array('foo', 'bar', array(), 'code'), 'news', $mod));
+ $this->assertEquals('', subject_callback(array('foo', 'bar', array(), 'code'), 'news', $mod));
}
/**
* @preserveGlobalState disabled
@@ -98,8 +98,8 @@ public function test_date_callback() {
*/
public function test_icon_callback() {
$mod = new Hm_Output_Test(array('foo' => 'bar', 'bar' => 'foo'), array('bar'));
- $this->assertEquals(' F A + | ', icon_callback(array(array('flagged', 'answered', 'attachment')), 'email', $mod));
- $this->assertEquals(' F A +
', icon_callback(array(array('flagged', 'answered', 'attachment')), 'news', $mod));
+ $this->assertEquals(' F A | ', icon_callback(array(array('flagged', 'answered', 'attachment')), 'email', $mod));
+ $this->assertEquals(' F A
', icon_callback(array(array('flagged', 'answered', 'attachment')), 'news', $mod));
}
/**
* @preserveGlobalState disabled
@@ -134,7 +134,7 @@ public function test_list_sources() {
public function test_list_controls() {
$this->assertEquals('foobazbar
-
+
', list_controls('foo', 'bar', 'baz'));
}
diff --git a/tests/phpunit/modules/core/modules.php b/tests/phpunit/modules/core/modules.php
index 1849b5bd56..fe9429933b 100644
--- a/tests/phpunit/modules/core/modules.php
+++ b/tests/phpunit/modules/core/modules.php
@@ -601,7 +601,7 @@ public function test_save_reminder() {
$this->assertEquals(array(), $res->output_response);
$test->handler_response = array('changed_settings' => array('foo', 'bar'));
$res = $test->run();
- $this->assertEquals(array(''), $res->output_response);
+ $this->assertEquals(array(''), $res->output_response);
$test->handler_response = array('single_server_mode' => true);
$res = $test->run();
$this->assertEquals(array('single_server_mode' => true), $res->output_response);
@@ -633,7 +633,7 @@ public function test_search_form_end() {
$res = $test->run();
$this->assertEquals(array('
-
+
'), $res->output_response);
}
@@ -915,7 +915,7 @@ public function test_content_start() {
$this->assertEquals(array(''), $res->output_response);
$test->handler_response = array('changed_settings' => array(0), 'router_login_state' => true);
$res = $test->run();
- $this->assertEquals(array(''), $res->output_response);
+ $this->assertEquals(array(''), $res->output_response);
}
/**
* @preserveGlobalState disabled
@@ -997,10 +997,10 @@ public function test_js_data() {
$test = new Output_Test('js_data', 'core');
$test->handler_response = array('disable_delete_prompt' => true);
$res = $test->run();
- $this->assertStringStartsWith('