From f623557bd252b0c2c3cdb6d0f19019cc639842f5 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 15 Jun 2017 13:54:59 +1000 Subject: [PATCH] Add comments around 'wrongness' and link to chat discussion --- tests/phpunit/api/v3/AddressTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/phpunit/api/v3/AddressTest.php b/tests/phpunit/api/v3/AddressTest.php index f999e29ec2..aa95a375de 100644 --- a/tests/phpunit/api/v3/AddressTest.php +++ b/tests/phpunit/api/v3/AddressTest.php @@ -350,6 +350,10 @@ class api_v3_AddressTest extends CiviUnitTestCase { /** * Test Creating address of same type alreay ind the database + * This is legacy API v3 behaviour and not correct behaviour + * however we are too far down the path wiwth v3 to fix this + * @link https://chat.civicrm.org/civicrm/pl/zcq3jkg69jdt5g4aqze6bbe9pc + * @todo vis this in v4 api */ public function testCreateDuplicateLocationTypes() { $address1 = $this->callAPISuccess('address', 'create', $this->_params); -- 2.25.1