aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_reparser/plugins/test_row_based_plugin.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-07-06 01:57:54 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-07-06 23:45:38 +0200
commitcf4cdcda586a2371aa92ae452951f9660737ae09 (patch)
tree15cab3410c1a38bf7520f9dc7745d8c4056f16b9 /tests/text_reparser/plugins/test_row_based_plugin.php
parent7ccb6389124c5e990abaa917a6684fc3f4d072db (diff)
downloadforums-cf4cdcda586a2371aa92ae452951f9660737ae09.tar
forums-cf4cdcda586a2371aa92ae452951f9660737ae09.tar.gz
forums-cf4cdcda586a2371aa92ae452951f9660737ae09.tar.bz2
forums-cf4cdcda586a2371aa92ae452951f9660737ae09.tar.xz
forums-cf4cdcda586a2371aa92ae452951f9660737ae09.zip
[ticket/13987] Replaced optional parameter with explicit API
Added disable_save() and enable_save() to toggle a dry run PHPBB3-13987
Diffstat (limited to 'tests/text_reparser/plugins/test_row_based_plugin.php')
-rw-r--r--tests/text_reparser/plugins/test_row_based_plugin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/text_reparser/plugins/test_row_based_plugin.php b/tests/text_reparser/plugins/test_row_based_plugin.php
index 9f9ecc609a..bbae44c8e0 100644
--- a/tests/text_reparser/plugins/test_row_based_plugin.php
+++ b/tests/text_reparser/plugins/test_row_based_plugin.php
@@ -57,7 +57,8 @@ abstract class phpbb_textreparser_test_row_based_plugin extends phpbb_database_t
{
$old_rows = $this->get_rows(array(1));
$reparser = $this->get_reparser();
- $reparser->reparse_range(1, 1, true);
+ $reparser->disable_save();
+ $reparser->reparse_range(1, 1);
$new_rows = $this->get_rows(array(1));
$this->assertEquals($old_rows, $new_rows);
}