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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -187,15 +187,6 @@ echo sprintf(__('Welcome to %s'),
|
||||
<h1>Notice message box header!</h1>
|
||||
notice message box content!
|
||||
</div>
|
||||
|
||||
<div class="warning">
|
||||
warning message box content!
|
||||
</div>
|
||||
<div class="warning">
|
||||
<h1>Warning message box header!</h1>
|
||||
warning message box content!
|
||||
</div>
|
||||
|
||||
<div class="error">
|
||||
error message box content!
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user