|
|
@@ -268,7 +268,7 @@ class ExtractTaskTest extends CakeTestCase {
|
|
|
$this->out = $this->getMock('ConsoleOutput', array(), array(), '', false);
|
|
|
$this->in = $this->getMock('ConsoleInput', array(), array(), '', false);
|
|
|
$this->Task = $this->getMock('ExtractTask',
|
|
|
- array('_isExtractingApp', '_extractValidationMessages', 'in', 'out', 'err', 'clear', '_stop'),
|
|
|
+ array('_isExtractingApp', 'in', 'out', 'err', 'clear', '_stop'),
|
|
|
array($this->out, $this->out, $this->in)
|
|
|
);
|
|
|
|
|
|
@@ -280,6 +280,7 @@ class ExtractTaskTest extends CakeTestCase {
|
|
|
$this->assertNotRegExp('#Pages#', $result);
|
|
|
$this->assertContains('translate.ctp:1', $result);
|
|
|
$this->assertContains('This is a translatable string', $result);
|
|
|
+ $this->assertContains('I can haz plugin model validation message', $result);
|
|
|
}
|
|
|
|
|
|
/**
|