First implementation of orders using Doctrine

This commit is contained in:
Andrey
2013-07-02 14:21:46 +02:00
parent 03fe7a6610
commit 07ff0c4d7a
9 changed files with 335 additions and 633 deletions

View File

@@ -971,7 +971,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
self::$DI['app']['notification.deliverer'] = $this->getMockBuilder('Alchemy\Phrasea\Notification\Deliverer')
->disableOriginalConstructor()
->getMock();
//
self::$DI['app']['notification.deliverer']->expects($this->exactly($qty))
->method('deliver')
->with($this->isInstanceOf($expectedMail), $this->equalTo($receipt));