mirror of
https://github.com/brunofontes/Memsource-API.git
synced 2024-11-24 03:07:10 +00:00
16 lines
353 B
PHP
16 lines
353 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
use PHPUnit\Framework\TestCase;
|
||
|
use BrunoFontes\Memsource;
|
||
|
|
||
|
final class JobsTest extends TestCase
|
||
|
{
|
||
|
public function testInvalidProjectUidShouldThrowError()
|
||
|
{
|
||
|
$api = new Memsource('fakeToken');
|
||
|
$this->expectException(\Exception::class);
|
||
|
$api->jobs()->list('invalidProjectUid', []);
|
||
|
}
|
||
|
}
|