Skip to content

Commit

Permalink
fix-tests-use-base64
Browse files Browse the repository at this point in the history
  • Loading branch information
amirlevykal committed Dec 20, 2015
1 parent 1bba625 commit f8419c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local/kaltura/tests/locallib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ public function test_local_kaltura_get_kaf_publishing_data_for_non_admin() {
$json .= ',{"courseId":"'.$coursetwo->id.'","courseName":"'.$coursetwo->fullname.'","roles":"Learner"}';
$json .= ',{"courseId":"'.$coursefour->id.'","courseName":"'.$coursefour->fullname.'","roles":"Instructor"}]}';

$this->assertEquals($json, $result);
$this->assertEquals(base64_encode($json), $result);
}

/**
Expand Down Expand Up @@ -1046,7 +1046,7 @@ public function test_local_kaltura_get_kaf_publishing_data_for_admin() {
$json .= ',{"courseId":"'.$coursethree->id.'","courseName":"'.$coursethree->fullname.'","roles":"urn:lti:sysrole:ims\/lis\/Administrator"}';
$json .= ',{"courseId":"'.$coursefour->id.'","courseName":"'.$coursefour->fullname.'","roles":"urn:lti:sysrole:ims\/lis\/Administrator"}]}';

$this->assertEquals($json, $result);
$this->assertEquals(base64_encode($json), $result);
}

/**
Expand Down

0 comments on commit f8419c9

Please sign in to comment.