Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Merge branch 'MDL-53481-master-uniqsqlparam' of git://github.com/mudr…
Browse files Browse the repository at this point in the history
…d8mz/moodle
  • Loading branch information
stronk7 committed Nov 10, 2016
2 parents f670b39 + 445aa47 commit 55f171a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions availability/tests/tree_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ public function test_unique_sql_parameter_behaviour() {
shuffle($conditions);
$tree = new tree(tree::get_root_json($conditions));
list($sql, $params) = $tree->get_user_list_sql(false, $info, false);
$result = $DB->get_fieldset_sql($sql, $params);
$this->assertEquals(array($user->id), $result);
// This must not throw exception.
$DB->fix_sql_params($sql, $params);
}

/**
Expand Down

0 comments on commit 55f171a

Please sign in to comment.