From 23c42cb3aa015e8ff0c83b8297468c0405b3fcea Mon Sep 17 00:00:00 2001 From: Nigel Banks Date: Fri, 8 Feb 2013 15:41:55 +0100 Subject: [PATCH] Updated for changed config value. --- tests/islandora_web_test_case.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/islandora_web_test_case.inc b/tests/islandora_web_test_case.inc index cc5b8c67..a513de43 100644 --- a/tests/islandora_web_test_case.inc +++ b/tests/islandora_web_test_case.inc @@ -54,8 +54,8 @@ class IslandoraWebTestCase extends DrupalWebTestCase { * Stores the content of the Drupal Filter for later restoration. */ protected function backUpDrupalFilter() { - if (file_exists($this->configuration['filter_drupal_file'])) { - $this->originalDrupalFilterContent = file_get_contents($this->configuration['filter_drupal_file']); + if (file_exists($this->configuration['drupal_filter_file'])) { + $this->originalDrupalFilterContent = file_get_contents($this->configuration['drupal_filter_file']); } else { throw new Exception('Failed to find the required Drupal Filter configuration file.'); @@ -98,7 +98,7 @@ class IslandoraWebTestCase extends DrupalWebTestCase { * Stores the content of the Drupal Filter for later restoration. */ protected function restoreDrupalFilter() { - $file = $this->configuration['filter_drupal_file']; + $file = $this->configuration['drupal_filter_file']; if (isset($this->originalDrupalFilterContent)) { file_put_contents($file, $this->originalDrupalFilterContent); }