mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-03-25 16:50:57 +00:00
- Skeleton of mock internal driver - Skeleton of test suite - Re-arranged lots of code - Made drive name localized (improves #37)
17 lines
358 B
PHP
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);
|
|
}
|
|
}
|