Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating ExtractTask test case to reflect changes made in df8895a. Do…

…main strings are no longer default merged into default.pot.
  • Loading branch information...
commit 79cd856e190a55e2cd4c331e02fc74e325c09544 1 parent e95186d
@markstory markstory authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 cake/tests/cases/console/libs/tasks/extract.test.php
View
11 cake/tests/cases/console/libs/tasks/extract.test.php
@@ -38,9 +38,9 @@
}
Mock::generatePartial(
- 'ShellDispatcher', 'TestExtractTaskMockShellDispatcher',
- array('getInput', 'stdout', 'stderr', '_stop', '_initEnvironment')
- );
+ 'ShellDispatcher', 'TestExtractTaskMockShellDispatcher',
+ array('getInput', 'stdout', 'stderr', '_stop', '_initEnvironment')
+);
/**
* ExtractTaskTest class
@@ -132,11 +132,6 @@ function testExecute() {
$pattern = '/msgid "You deleted %d message."\nmsgid_plural "You deleted %d messages."/';
$this->assertPattern($pattern, $result);
- $pattern = '/msgid "You have %d new message \(domain\)."\nmsgid_plural "You have %d new messages \(domain\)."/';
- $this->assertPattern($pattern, $result);
- $pattern = '/msgid "You deleted %d message \(domain\)."\nmsgid_plural "You deleted %d messages \(domain\)."/';
- $this->assertPattern($pattern, $result);
-
// extract.ctp - reading the domain.pot
$result = file_get_contents($path . DS . 'domain.pot');
Please sign in to comment.
Something went wrong with that request. Please try again.