Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Model/Repositories/WebhookEventDeliveryRepositoryTest.php
2014-06-23 17:48:42 +02:00

13 lines
350 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Model\Repositories;
class WebhookEventDeliveryRepositoryTest extends \PhraseanetTestCase
{
public function testFindUndeliveredEvents()
{
$events = self::$DI['app']['EM']->getRepository('Phraseanet:WebhookEventDelivery')->findUndeliveredEvents();
$this->assertCount(1, $events);
}
}