Skip to content

Commit

Permalink
grammar fix in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaroWalter committed Nov 30, 2023
1 parent a6917ad commit ef6bef8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/userstats_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public function setUp(): void {
*/
public function tearDown(): void {
// Clear all caches.
\mod_moodleoverflow\subscriptions::reset_moodleoverflow_cache();
\mod_moodleoverflow\subscriptions::reset_discussion_cache();
subscriptions::reset_moodleoverflow_cache();
subscriptions::reset_discussion_cache();
}

// Begin of test functions.
Expand Down Expand Up @@ -221,11 +221,11 @@ public function test_partial_anonymous() {
}

/**
* Test, if userstats are calculated correctly if the moodleoverflow is partially anonymous.
* Test, if userstats are calculated correctly if the moodleoverflow is totally anonymous.
* @covers \userstats_table
*/
public function test_total_anonymous() {
// Test case: Only topic startes are anonymous.
// Test case: All posts are anonymous.
$this->make_anonymous(2);

// Get the current userstats to compare later.
Expand Down Expand Up @@ -303,7 +303,7 @@ private function helper_course_set_up() {
* Makes the existing moodleoverflow anonymous.
* There are 2 types of anonymous moodleoverflows:
* anonymous = 1, the topic starter is anonymous
* anonymous = 2, all users are anonym
* anonymous = 2, all users are anonymous
*
* @param int $anonymoussetting
*/
Expand Down

0 comments on commit ef6bef8

Please sign in to comment.