From 21cadf719e3f3c18e25da766ce739cc7fb19afea Mon Sep 17 00:00:00 2001 From: Michal Zukowski Date: Thu, 26 Nov 2015 12:26:15 +0100 Subject: [PATCH] bugfix param name changed --- src/API/Request/AddAttendees.php | 2 +- tests/API/Request/AddAttendeesTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API/Request/AddAttendees.php b/src/API/Request/AddAttendees.php index 9af8dd4..674c688 100644 --- a/src/API/Request/AddAttendees.php +++ b/src/API/Request/AddAttendees.php @@ -32,7 +32,7 @@ public function getMethod() public function getParams() { return [ - 'classroom_id' => $this->classroomId, + 'class_id' => $this->classroomId, 'attendee_list' => $this->attendees->toXmlString() ]; } diff --git a/tests/API/Request/AddAttendeesTest.php b/tests/API/Request/AddAttendeesTest.php index a6de2ad..4909f4f 100644 --- a/tests/API/Request/AddAttendeesTest.php +++ b/tests/API/Request/AddAttendeesTest.php @@ -33,7 +33,7 @@ public function testGetParams() ->will($this->returnValue('xml')); $params = [ - 'classroom_id' => 12345, + 'class_id' => 12345, 'attendee_list' => 'xml', ];