Skip to content

Commit

Permalink
Replace * ANF-ID: ... with * # ANF-ID: ...
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Jul 11, 2024
1 parent 17d72da commit 1e6dd16
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions tests/backup/backup_mod_adleradaptivity_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function setUp(): void {
}

/**
* ANF-ID: [MVP1]
* # ANF-ID: [MVP1]
*/
public function test_backup() {
// Get xml from backup.
Expand All @@ -78,7 +78,7 @@ public function test_backup() {
}

/**
* ANF-ID: [MVP2]
* # ANF-ID: [MVP2]
*/
public function test_restore() {
global $DB;
Expand Down
4 changes: 2 additions & 2 deletions tests/external/answer_questions_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function provide_test_execute_integration_data() {
/**
* @dataProvider provide_test_execute_integration_data
*
* ANF-ID: [MVP3]
* # ANF-ID: [MVP3]
*/
public function test_execute_integration(string $q1, string $q2, bool $task_required, bool $singlechoice, string $expected_result) {
// create course with test questions and user
Expand Down Expand Up @@ -146,7 +146,7 @@ public function provide_test_execute_integration__check_question_answered_correc
/**
* @dataProvider provide_test_execute_integration__check_question_answered_correctly_once_data
*
* ANF-ID: [MVP3]
* # ANF-ID: [MVP3]
*/
public function test_execute_integration__check_question_answered_correctly_once(string $attempt1, string $attempt2, $expected_result) {
// create course with test questions and user
Expand Down
2 changes: 1 addition & 1 deletion tests/external/get_question_details_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class get_question_details_test extends adler_externallib_testcase {
/**
* ANF-ID: [MVP4]
* # ANF-ID: [MVP4]
*/
public function test_execute_integration() {
$task_required = true;
Expand Down
2 changes: 1 addition & 1 deletion tests/external/get_task_details_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class get_task_details_test extends adler_externallib_testcase {
/**
* ANF-ID: [MVP5]
* # ANF-ID: [MVP5]
*/
public function test_execute_integration() {
$task_required = true;
Expand Down
10 changes: 5 additions & 5 deletions tests/local/output/pages/view_page_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function provider_test_request_parameters(): array {
/**
* @dataProvider provider_test_request_parameters
*
* ANF-ID: [MVP14]
* # ANF-ID: [MVP14]
*/
public function testProcessRequestParameters($attempt_id) {
// Arrange
Expand Down Expand Up @@ -80,7 +80,7 @@ public function invalidAttemptProvider(): array {
/**
* @dataProvider invalidAttemptProvider
*
* ANF-ID: [MVP14]
* # ANF-ID: [MVP14]
*/
public function testProcessRequestParametersWithInvalidAttempt($invalidAttempt) {
// Arrange
Expand Down Expand Up @@ -120,7 +120,7 @@ public function testProcessRequestParametersWithInvalidAttempt($invalidAttempt)
/**
* @runInSeparateProcess
*
* ANF-ID: [MVP14]
* # ANF-ID: [MVP14]
*/
public function testProcessRequestParametersWithNonExistingAttempt() {
// create two users
Expand Down Expand Up @@ -163,7 +163,7 @@ public function testProcessRequestParametersWithNonExistingAttempt() {
/**
* @runInSeparateProcess
*
* ANF-ID: [MVP14]
* # ANF-ID: [MVP14]
*/
public function testProcessRequestParametersWithAttemptOfOtherUser() {
// create two users
Expand Down Expand Up @@ -208,7 +208,7 @@ public function testProcessRequestParametersWithAttemptOfOtherUser() {
/**
* @runInSeparateProcess
*
* ANF-ID: [MVP14]
* # ANF-ID: [MVP14]
*/
public function testProcessRequestParametersWithAttemptOfOtherCm() {
// create two users
Expand Down
2 changes: 1 addition & 1 deletion tests/view_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class view_test extends adler_testcase {
/**
* ANF-ID: [MVP14]
* # ANF-ID: [MVP14]
*/
public function test_sort_questions_in_tasks_by_difficulty() {
$tasks = [
Expand Down

0 comments on commit 1e6dd16

Please sign in to comment.