Skip to content
Snippets Groups Projects
Commit 98a3eeb5 authored by Justus Dieckmann's avatar Justus Dieckmann Committed by Tobias Reischmann
Browse files

Coding style fixes

parent 1c46c0b1
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,6 @@ class tool_lifecycle_privacy_test extends provider_testcase { ...@@ -174,7 +174,6 @@ class tool_lifecycle_privacy_test extends provider_testcase {
$u1 = $this->getDataGenerator()->create_user(); $u1 = $this->getDataGenerator()->create_user();
$u2 = $this->getDataGenerator()->create_user(); $u2 = $this->getDataGenerator()->create_user();
$p1 = $this->generator->create_process($c1->id, $this->workflow->id); $p1 = $this->generator->create_process($c1->id, $this->workflow->id);
$p2 = $this->generator->create_process($c2->id, $this->workflow->id); $p2 = $this->generator->create_process($c2->id, $this->workflow->id);
...@@ -187,7 +186,6 @@ class tool_lifecycle_privacy_test extends provider_testcase { ...@@ -187,7 +186,6 @@ class tool_lifecycle_privacy_test extends provider_testcase {
$this->setUser($u2); $this->setUser($u2);
interaction_manager::handle_interaction($this->emailstep->id, $p2->id, self::ACTION_KEEP); interaction_manager::handle_interaction($this->emailstep->id, $p2->id, self::ACTION_KEEP);
$contextlist = new approved_contextlist($u1, 'tool_lifecycle', [1]); $contextlist = new approved_contextlist($u1, 'tool_lifecycle', [1]);
provider::delete_data_for_user($contextlist); provider::delete_data_for_user($contextlist);
$this->assertEquals(0, $DB->count_records_select('tool_lifecycle_action_log', "userid = $u1->id")); $this->assertEquals(0, $DB->count_records_select('tool_lifecycle_action_log', "userid = $u1->id"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment