szurubooru/tests/AbstractTestCase.php

13 lines
267 B
PHP
Raw Normal View History

2014-09-01 20:51:59 +02:00
<?php
namespace Szurubooru\Tests;
abstract class AbstractTestCase extends \PHPUnit_Framework_TestCase
{
public function mock($className)
{
return $this->getMockBuilder($className)->disableOriginalConstructor()->getMock();
}
}
date_default_timezone_set('UTC');