mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-19 07:53:14 +00:00
17 lines
384 B
PHP
17 lines
384 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();
|
|
$this->assertCount(1, $events);
|
|
}
|
|
}
|