blob: d45c1e1b9dd4bfa283a4405c22c038d6d9b496e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
namespace OCA\Social\Tests;
use OCA\Social\Controller\NavigationController;
use OCA\Social\Controller\SocialPubController;
use OCA\Social\Service\CacheActorService;
use OCP\IL10N;
use OCP\IRequest;
class SocialTest extends \PHPUnit\Framework\TestCase {
public function testDummy() {
/**
* Dummy test to check if phpunit is working properly
*/
$socialPub = new SocialPubController(
'admin',
$this->createMock(IRequest::class),
$this->createMock(IL10N::class),
$this->createMock(CacheActorService::class),
$this->createMock(NavigationController::class)
);
$socialPub->actor('123');
$this->assertTrue(true);
}
}
|