<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.7 |
+ | CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
'sequential' => 1,
);
$getResult = $this->callAPISuccess('group_organization', 'get', $getParams);
- $this->assertEquals($createResult['values'], $getResult['values'][0]);
+ $this->assertEquals($createResult['values'][$createResult['id']], $getResult['values'][0]);
}
/**