-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathTestBase.php
More file actions
28 lines (24 loc) · 622 Bytes
/
TestBase.php
File metadata and controls
28 lines (24 loc) · 622 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
*
* @package phpBB Translation Validator
* @copyright (c) 2014 phpBB Ltd.
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace Phpbb\TranslationValidator\Tests;
class TestBase extends \PHPUnit\Framework\TestCase
{
/** @var \Phpbb\TranslationValidator\Output\Output */
protected $output;
public function setUp(): void
{
parent::setUp();
$this->output = new \Phpbb\TranslationValidator\Tests\Mock\Output();
}
public function assertOutputMessages($expected)
{
sort($expected);
$this->assertEquals($expected, $this->output->getMessages());
}
}