function CoderUpgrade6xTest::testUpgrade6xWatdog in Coder 6.2
Same name and namespace in other branches
- 6 tests/coder_6x.test \CoderUpgrade6xTest::testUpgrade6xWatdog()
File
- tests/
coder_6x.test, line 167
Class
Code
function testUpgrade6xWatdog() {
$this
->assertCoderFail(' watchdog(\'debug\', \'My debug message.\');');
$this
->assertCoderFail(' watchdog(\'user\', t(\'Removed user.\'));');
$this
->assertCoderFail(' watchdog(\'user\', t(\'Removed %username user.\', array(\'%username\' => $user->name)));');
$this
->assertCoderPass(' watchdog(\'user\', \'Removed %username user.\', array(\'%username\' => $user->name));');
}