mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add third party application webhook event
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user