Skip to content

Commit

Permalink
Bugfix cancel request param fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Zukowski committed Dec 18, 2015
1 parent e980946 commit 2616871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/API/Request/Cancel.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getMethod()
public function getParams()
{
return [
'classroom_id' => $this->classroomId,
'class' => $this->classroomId,
];
}
}
2 changes: 1 addition & 1 deletion tests/API/Request/CancelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function testGetMethod()
public function testGetParams()
{
$params = [
'classroom_id' => 12345,
'class' => 12345,
];

$this->assertEquals($params, $this->request->getParams());
Expand Down

0 comments on commit 2616871

Please sign in to comment.