php-tools/tests/DbugFormatterTest.php

11 lines
279 B
PHP
Raw Permalink Normal View History

2013-07-25 21:48:02 +00:00
<?php
class DbugFormatterTest extends PHPUnit_Framework_TestCase {
function testFormat() {
$formatter = new DbugFormatter;
$s = 'mine' . $_SERVER['REQUEST_TIME'] . sha1(time() . mt_rand());
$this->assertContains($s, $formatter->format($s));
}
}