@@ -74,7 +74,7 @@ class AclMapperTest extends MapperTestUtility {
|
||||
}
|
||||
}
|
||||
/** @return Acl */
|
||||
public function getAcl($type='user', $participant='admin', $edit=false, $share=false, $manage=false, $boardId=123) {
|
||||
public function getAcl($type = 'user', $participant = 'admin', $edit = false, $share = false, $manage = false, $boardId = 123) {
|
||||
$acl = new Acl();
|
||||
$acl->setParticipant($participant);
|
||||
$acl->setType('user');
|
||||
|
||||
@@ -86,7 +86,7 @@ class BoardMapperTest extends MapperTestUtility {
|
||||
}
|
||||
}
|
||||
/** @return Acl */
|
||||
public function getAcl($type='user', $participant='admin', $edit=false, $share=false, $manage=false, $boardId=123) {
|
||||
public function getAcl($type = 'user', $participant = 'admin', $edit = false, $share = false, $manage = false, $boardId = 123) {
|
||||
$acl = new Acl();
|
||||
$acl->setParticipant($participant);
|
||||
$acl->setType('user');
|
||||
|
||||
@@ -36,7 +36,7 @@ class RelationalEntityTest extends \Test\TestCase {
|
||||
$entity = new RelationalEntity();
|
||||
$entity->foo = null;
|
||||
$entity->setFoo('test');
|
||||
$this->assertEquals(['foo'=>true], $entity->getUpdatedFields());
|
||||
$this->assertEquals(['foo' => true], $entity->getUpdatedFields());
|
||||
}
|
||||
|
||||
public function testJsonSerialize() {
|
||||
|
||||
Reference in New Issue
Block a user