summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Kindströmmer <hannes@kindstrommer.se>2017-03-21 09:18:08 +0100
committerHannes Kindströmmer <hannes@kindstrommer.se>2017-03-21 11:35:46 +0100
commitdfd15c971cf0db4a38f03caf57717629fec660e4 (patch)
treef198df86e6aeb2bcdf5e31138de2a083339da504
parentc05107182bce2656a3d15704e9710f719a77eb02 (diff)
downloadip1-php-sdk-dfd15c971cf0db4a38f03caf57717629fec660e4.zip
ip1-php-sdk-dfd15c971cf0db4a38f03caf57717629fec660e4.tar.gz
ip1-php-sdk-dfd15c971cf0db4a38f03caf57717629fec660e4.tar.bz2
Correct for testing reslult
-rw-r--r--tests/Recipient/MembershipTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Recipient/MembershipTest.php b/tests/Recipient/MembershipTest.php
index bc2e934..b2aa654 100644
--- a/tests/Recipient/MembershipTest.php
+++ b/tests/Recipient/MembershipTest.php
@@ -67,11 +67,11 @@ class MembershipTest extends AbstractEnviromentProvider
$contacts = json_decode($this->getCommunicator()->get('api/memberships'));
foreach ($contacts as $key => $value) {
- $this->getCommunicator()->delete('api/contacts/'.$value->ID);
+ $this->getCommunicator()->delete('api/memberships/'.$value->ID);
}
$groups = json_decode($this->getCommunicator()->get('api/groups'));
foreach ($groups as $key => $value) {
- $this->getCommunicator()->delete('api/contacts/'.$value->ID);
+ $this->getCommunicator()->delete('api/groups/'.$value->ID);
}
}
}