We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3106970 commit 765c6cdCopy full SHA for 765c6cd
1 file changed
tests/system/CommonFunctionsTest.php
@@ -606,4 +606,15 @@ public function testCspScriptNonce()
606
607
$this->assertStringStartsWith('nonce="', csp_script_nonce());
608
}
609
+
610
+ public function testLangOnCLI()
611
+ {
612
+ Services::createRequest(new App(), true);
613
614
+ $message = lang('CLI.generator.fileCreate', ['TestController.php']);
615
616
+ $this->assertSame('File created: TestController.php', $message);
617
618
+ $this->resetServices();
619
+ }
620
0 commit comments