Continue to replace warning level with error level
This commit is contained in:
@@ -79,15 +79,6 @@ class PMA_Message_test extends PHPUnit_Extensions_OutputTestCase
|
||||
$this->assertEquals('Error', PMA_Message::error()->getString());
|
||||
}
|
||||
|
||||
/**
|
||||
* test warning method
|
||||
*/
|
||||
public function testWarning()
|
||||
{
|
||||
$this->object = new PMA_Message('test<&>', PMA_Message::WARNING);
|
||||
$this->assertEquals($this->object, PMA_Message::warning('test<&>'));
|
||||
}
|
||||
|
||||
/**
|
||||
* test notice method
|
||||
*/
|
||||
@@ -359,8 +350,6 @@ class PMA_Message_test extends PHPUnit_Extensions_OutputTestCase
|
||||
$this->assertEquals('success', $this->object->getLevel());
|
||||
$this->object->setNumber(PMA_Message::ERROR);
|
||||
$this->assertEquals('error', $this->object->getLevel());
|
||||
$this->object->setNumber(PMA_Message::WARNING);
|
||||
$this->assertEquals('warning', $this->object->getLevel());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user