Page MenuHomePhorge

LocalizationTest.php
No OneTemporary

Authored By
Unknown
Size
424 B
Referenced Files
None
Subscribers
None

LocalizationTest.php

<?php
class LocalizationTest extends PHPUnit\Framework\TestCase
{
/**
* Test all localization files for possible errors
*/
function test_localization()
{
// Any error/warning will fail the
foreach (glob(__DIR__ . '/../localization/*.inc') as $file) {
$labels = $messages = [];
include $file;
$this->assertTrue(!empty($labels));
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Apr 4, 4:39 AM (1 d, 11 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
28/d6/c4aeeee7c8f7cb37eaa11f914079
Default Alt Text
LocalizationTest.php (424 B)

Event Timeline