From 149fa62d62a0f72c6d95f982d651c24a6df4beb3 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 7 Aug 2013 16:14:42 +0200 Subject: [PATCH] Updated test database, fixed a record test --- tests/classes/record/adapterTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/classes/record/adapterTest.php b/tests/classes/record/adapterTest.php index b43332f790..5b1237f80a 100644 --- a/tests/classes/record/adapterTest.php +++ b/tests/classes/record/adapterTest.php @@ -71,9 +71,7 @@ class record_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract ->method('deliver') ->with($this->isInstanceOf('Alchemy\Phrasea\Notification\Mail\MailInfoNewOrder'), $this->equalTo(null)); - return new set_order(self::$DI['app'], \set_order::create( - self::$DI['app'], new RecordsRequest($receveid, new ArrayCollection($receveid), $basket), self::$DI['user_alt2'], 'I need this photos', new \DateTime('+10 minutes') - )); + return $this->createOneOrder('I need this pictures'); } public function testGet_creation_date()