for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tarioch\EveapiFetcherBundle\Tests\Functional\Entity;
use Tarioch\EveapiFetcherBundle\Entity\ApiCallRepository;
use Tarioch\EveapiFetcherBundle\Tests\Functional\AbstractFunctionalTestCase;
class ApiRepositoryTest extends AbstractFunctionalTestCase
{
private $repository;
public function testLoadValidApisFullAccessMask()
$this->assertNotEmpty($this->repository->loadValidApis(268435455, 'Account'));
}
public function testLoadValidApisEmptyAccessMaskMask()
$this->assertEmpty($this->repository->loadValidApis(0, 'Account'));
public function testLoadApiKeyInfoApi()
$this->assertNotNull($this->repository->loadApiKeyInfoApi());
public function setUp()
parent::setUp();
$this->repository = $this->entityManager->getRepository('TariochEveapiFetcherBundle:Api');