mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
13 lines
334 B
PHP
13 lines
334 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Model\Repositories;
|
|
|
|
class WebhookEventRepositoryTest extends \PhraseanetTestCase
|
|
{
|
|
public function testFindUnprocessedEvents()
|
|
{
|
|
$events = self::$DI['app']['EM']->getRepository('Phraseanet:WebhookEvent')->findUnprocessedEvents();
|
|
$this->assertCount(1, $events);
|
|
}
|
|
}
|