for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, https://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2024
*/
namespace Aimeos\Controller;
class JobsTest extends \PHPUnit\Framework\TestCase
{
public function testCreateNotExisting()
$context = \TestHelper::context();
$aimeos = \TestHelper::getAimeos();
$this->expectException( \LogicException::class );
\Aimeos\Controller\Jobs::create( $context, $aimeos, 'unknown' );
}
public function testGet()
$list = \Aimeos\Controller\Jobs::get( $context, $aimeos, $aimeos->getCustomPaths( 'controller/jobs' ) );
$this->assertGreaterThanOrEqual( 38, count( $list ) );