X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiClearHasMsgTest.php;h=5b124074dc720e7db66173aa95c3d1d5df491e36;hb=b9e17917f51e5fc717fef1bebff1d84cfadd1a0a;hp=b7d320508640b033a3cd3b36f995fc56ca2e8d96;hpb=08324f14b457e8c7e8394480df48b82d9a92576d;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiClearHasMsgTest.php b/tests/phpunit/includes/api/ApiClearHasMsgTest.php index b7d3205086..5b124074dc 100644 --- a/tests/phpunit/includes/api/ApiClearHasMsgTest.php +++ b/tests/phpunit/includes/api/ApiClearHasMsgTest.php @@ -13,7 +13,7 @@ class ApiClearHasMsgTest extends ApiTestCase { public function testClearFlag() { $user = self::$users['sysop']->getUser(); $user->setNewtalk( true ); - $this->assertTrue( $user->getNewtalk() ); + $this->assertTrue( $user->getNewtalk(), 'sanity check' ); $data = $this->doApiRequest( [ 'action' => 'clearhasmsg' ], [] );