Merge branch 'pu/2013.03/modelconfig-hr'
authorPhilipp Schüle <p.schuele@metaways.de>
Thu, 4 Jul 2013 13:25:15 +0000 (15:25 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 4 Jul 2013 13:25:15 +0000 (15:25 +0200)
1  2 
tests/tine20/Sales/JsonTest.php

@@@ -69,10 -68,10 +68,10 @@@ class Sales_JsonTest extends PHPUnit_Fr
      {
          $contract = $this->_getContract();
          $contractData = $this->_instance->saveContract($contract->toArray());
+         
          // checks
          $this->assertGreaterThan(0, $contractData['number']);
 -        $this->assertEquals(Tinebase_Core::getUser()->getId(), $contractData['created_by']);
 +        $this->assertEquals(Tinebase_Core::getUser()->getId(), $contractData['created_by']['accountId']);
          
          return $contractData;
      }