Skip to content

Commit

Permalink
inplace_editor_test
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebleu committed May 3, 2024
1 parent 0c15e52 commit 4dbb0bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/other_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,14 @@ public function test_settings(): void {
require_once($CFG->dirroot . '/course/format/masonry/settings.php');
$this->assertNotEmpty($settings);
}

/**
* Inplace edit.
* @covers \format_masonry
*/
public function test_inplace_edit(): void {
global $CFG;
require_once($CFG->libdir . '/adminlib.php');
format_masonry_inplace_editable('section', 1, 'newvalue');
}
}

0 comments on commit 4dbb0bb

Please sign in to comment.