mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
18 lines
478 B
PHP
18 lines
478 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Model\Repositories;
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
*/
|
|
class WebhookEventRepositoryTest extends \PhraseanetTestCase
|
|
{
|
|
public function testFindUnprocessedEvents()
|
|
{
|
|
$events = self::$DI['app']['orm.em']->getRepository('Phraseanet:WebhookEvent')->findUnprocessedEvents();
|
|
// I have no clue as to why this magic number is here, probably best to discard test
|
|
$this->assertCount(55, $events);
|
|
}
|
|
}
|