Add message to the assert of ApiClearHasMsgTest
This adds 'sanity check' message for one of asserts so it is more clear that it is asserting a precondition. Change-Id: I10d36c1bf69effd7bd83f4a2259144e9f6e114fc
This commit is contained in:
parent
2e248f0bb2
commit
55a12fcfa7
1 changed files with 1 additions and 1 deletions
|
|
@ -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' ], [] );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue