diff --git a/tests/integration/Espo/Account/CreateTest.php b/tests/integration/Espo/Account/CreateTest.php index 8ac30b848a..c507c29b98 100644 --- a/tests/integration/Espo/Account/CreateTest.php +++ b/tests/integration/Espo/Account/CreateTest.php @@ -40,11 +40,11 @@ class CreateTest extends \tests\integration\Core\BaseTestCase { $service = $this->getContainer()->get('serviceFactory')->create('Account'); - $entity = $service->createEntity(array( + $entity = $service->createEntity((object) [ 'name' => 'Test Account', 'emailAddress' => 'test@tester.com', 'phoneNumber' => '123-456-789', - )); + ]); $this->assertInstanceOf('\\Espo\\ORM\\Entity', $entity); $this->assertTrue(!empty($entity->id));