mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/13987] Replaced optional parameter with explicit API
Added disable_save() and enable_save() to toggle a dry run PHPBB3-13987
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user