Page MenuHomePhorge

LocalizationTest.php
No OneTemporary

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
Fri, Nov 21, 11:47 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387460
Default Alt Text
LocalizationTest.php (424 B)

Event Timeline