Skip to content

Commit

Permalink
#153 Problem test removed (temporary)
Browse files Browse the repository at this point in the history
  • Loading branch information
j3nsch committed Jan 17, 2023
1 parent 78568ab commit 5a10cbf
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions tests/library/Application/View/Helper/MessagesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,35 +60,6 @@ public function testMessages()
);
}

/*
public function testMessagesMultiple()
{
$this->useEnglish();
$view = $this->getView();
$helper = new Application_View_Helper_Messages();
$helper->setView($view);
$messages = [];
// TODO BUG the following line causes job fails on GitHub when 'php -l' (lint check) is performed
// $messages[ = ['message' => 'validation_error_int', 'level' => 'error'];
$messages[ = ['message' => 'Just a test!', 'level' => 'info'];
$messages[ = ['message' => 'Without level.'];
$this->assertEquals(
<<<EOT
<div class="messages">
<div class="error">Please provide a number.</div>
<div class="info">Just a test!</div>
<div class="">Without level.</div>
</div>
EOT,
$helper->messages($messages)
);
}*/

public function testMessagesTranslation()
{
$this->useEnglish();
Expand Down

0 comments on commit 5a10cbf

Please sign in to comment.