Add third party application webhook event

This commit is contained in:
Nicolas Le Goff
2014-06-23 17:48:42 +02:00
parent 1645d914af
commit 0d040519f3
26 changed files with 1106 additions and 195 deletions

View File

@@ -0,0 +1,12 @@
<?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);
}
}