Skip to content

Commit

Permalink
Issue #905: Fixing redirect tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
quicksketch committed Apr 2, 2016
1 parent 24bf7e1 commit ece0067
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/modules/redirect/tests/redirect.test
Expand Up @@ -92,6 +92,7 @@ class RedirectUnitTest extends BackdropUnitTestCase {
* Test the redirect_compare_array_recursive() function.
*/
function testCompareArrayRecursive() {
backdrop_load('module', 'redirect');
$haystack = array('a' => 'aa', 'b' => 'bb', 'c' => array('c1' => 'cc1', 'c2' => 'cc2'));
$cases = array(
array('query' => array('a' => 'aa', 'b' => 'invalid'), 'result' => FALSE),
Expand Down Expand Up @@ -176,7 +177,7 @@ class RedirectFunctionalTest extends RedirectTestHelper {
// Set up cache variables.
config_set('system.core', 'cache', 1);
$edit = array(
'redirect_purge_inactive' => 604800,
'purge_inactive' => 604800,
);
$this->backdropPost('admin/config/search/redirect/settings', $edit, 'Save configuration');
$this->assertText('The configuration options have been saved.');
Expand Down

1 comment on commit ece0067

@backdrop-ci
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.