0
0
Fork 0
mirror of https://github.com/kevinpapst/kimai2.git synced 2025-05-05 17:50:08 +00:00
kevinpapst_kimai2/tests/API/NotFoundExceptionTest.php
Kevin Papst af9dea9226
prepare release 1.14 (#2495)
* removed un-maintained docker file
* update all packages
* fix deprecations
* only show one line descriptions for customer, projects and activities
* allow to show export column in timesheet listing
2021-04-08 18:07:57 +02:00

26 lines
584 B
PHP

<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Tests\API;
use App\API\NotFoundException;
use PHPUnit\Framework\TestCase;
/**
* @covers \App\API\NotFoundException
*/
class NotFoundExceptionTest extends TestCase
{
public function testConstructor()
{
$sut = new NotFoundException();
self::assertEquals('Not found', $sut->getMessage());
self::assertEquals(404, $sut->getCode());
}
}