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 add8cf5 commit 4a013bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions tests/condition_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function provide_test_construct_data() {
/**
* @dataProvider provide_test_construct_data
*
* ANF-ID: [MVP12]
* # ANF-ID: [MVP12]
*/
public function test_construct($structure, $expected_exception, $expected_condition) {
if ($expected_exception) {
Expand Down Expand Up @@ -86,7 +86,7 @@ public function provide_test_evaluate_section_data() {
* @runInSeparateProcess
* @preserveGlobalState disabled
*
* ANF-ID: [MVP12]
* # ANF-ID: [MVP12]
*/
public function test_evaluate_section($exception) {
$plugin_interface_mock = Mockery::mock('overload:'. plugin_interface::class);
Expand Down Expand Up @@ -233,7 +233,7 @@ public function provide_test_evaluate_section_requirements_data() {
/**
* @dataProvider provide_test_evaluate_section_requirements_data
*
* ANF-ID: [MVP12]
* # ANF-ID: [MVP12]
*/
public function test_evaluate_section_requirements($statement, $expected, $exception, $section_states) {
// map $section_states to the format of $section_states_map_format
Expand Down Expand Up @@ -308,7 +308,7 @@ public function provide_test_make_condition_user_readable_data() {
* @runInSeparateProcess
* @preserveGlobalState disabled
*
* ANF-ID: [MVP13]
* # ANF-ID: [MVP13]
*/
public function test_make_condition_user_readable($condition, $section_states, $section_names, $expected) {
$condition_mock = Mockery::mock(condition::class)->makePartial();
Expand All @@ -327,7 +327,7 @@ public function test_make_condition_user_readable($condition, $section_states, $
}

/**
* ANF-ID: [MVP13]
* # ANF-ID: [MVP13]
*/
public function test_get_description() {
$condition_mock = Mockery::mock(condition::class)->makePartial();
Expand Down Expand Up @@ -366,7 +366,7 @@ public function test_get_debug_string() {
}

/**
* ANF-ID: [MVP12]
* # ANF-ID: [MVP12]
*/
public function test_save() {
$adler_statement = (object)['type' => 'adler', 'condition' => '1'];
Expand Down Expand Up @@ -409,7 +409,7 @@ public function provide_test_is_available_data() {
/**
* @dataProvider provide_test_is_available_data
*
* ANF-ID: [MVP12]
* # ANF-ID: [MVP12]
*/
public function test_is_available(array $installed_plugins, bool $evaluate_section_requirements, bool $not, bool $expected) {
$info_mock = $this->getMockBuilder(info::class)
Expand Down Expand Up @@ -487,7 +487,7 @@ public function provide_test_update_after_restore_data() {
/**
* @dataProvider provide_test_update_after_restore_data
*
* ANF-ID: [MVP2]
* # ANF-ID: [MVP2]
*/
public function test_update_after_restore($condition, $backup_id_mappings, $expected_updated_condition, $expect_exception) {
global $CFG;
Expand Down
2 changes: 1 addition & 1 deletion tests/frontend_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class frontend_test extends adler_testcase {
/**
* ANF-ID: [MVP13]
* # ANF-ID: [MVP13]
*/
public function test_get_javascript_strings() {
// make get_javascript_strings public
Expand Down

0 comments on commit 4a013bc

Please sign in to comment.