Skip to content

Commit

Permalink
stub out future tests.
Browse files Browse the repository at this point in the history
these tests cover areas of the process that haven't changed during this
refactor, but that should be covered with tests nonetheless.
  • Loading branch information
stopfstedt committed Oct 3, 2024
1 parent 3a2e6f1 commit c31e72d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/lib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -1822,4 +1822,32 @@ function (RequestInterface $request) {
);
$this->assertEquals(0, $DB->count_records('user_enrolments', ['enrolid' => $instance->id]));
}

/**
* Test group enrolment during sync.
*/
public function test_sync_group_enrolment(): void {
$this->markTestIncomplete('to be done.');
}

/**
* Test that an explicitly set instance name is returned.
*/
public function test_get_instance_name_from_instance_name(): void {
$this->markTestIncomplete('to be done.');
}

/**
* Test that the correct plugin name is created from the sync-info as a fallback in case the instance has no name.
*/
public function test_get_instance_name_from_sync_info(): void {
$this->markTestIncomplete('to be done.');
}

/**
* Test that the correct plugin name is returned if not instance is given.
*/
public function test_get_instance_name_no_instance(): void {
$this->markTestIncomplete('to be done.');
}
}

0 comments on commit c31e72d

Please sign in to comment.