Beispiel #1
0
 public function testErrorAlias()
 {
     Messenger::error('Hello Bad/Red World');
     $messages = $this->messenger->get();
     $firstMessage = current($messages);
     $this->assertContains('Hello Bad/Red World', $firstMessage->display());
     $this->assertContains('danger', $firstMessage->display());
 }