1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2025-03-25 16:50:57 +00:00
Arsse/tests/User/TestUser.php
J. King 574388665a Tidy up tests and User stuff
- Skeleton of mock internal driver
- Skeleton of test suite
- Re-arranged lots of code
- Made drive name localized (improves #37)
2017-02-17 19:22:50 -05:00

17 lines
358 B
PHP

<?php
declare(strict_types=1);
namespace JKingWeb\NewsSync;
class TestUser extends \PHPUnit\Framework\TestCase {
use Test\Tools;
protected $data;
function setUp() {
$conf = new Conf();
$conf->userDriver = Test\User\DriverInternalMock::class;
$this->data = new Test\RuntimeData($conf);
$this->data->user = new User($this->data);
}
}