Skip to content

Commit 7d440d6

Browse files
committed
Added test for coverage
1 parent 1db14f7 commit 7d440d6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

tests/unit/BigBlueButtonTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,4 +346,15 @@ public function testUpdateRecordingsUrl()
346346
$this->assertStringContainsString(\rawurlencode($key) . '=' . rawurlencode($value), $url);
347347
}
348348
}
349+
350+
public function testBuildUrl(): void
351+
{
352+
$bigBlueButton = new BigBlueButton('https://bbb.example/bigbluebutton', 'S3cr3t');
353+
354+
$this->assertSame(
355+
'https://bbb.example/bigbluebuttonapi/foo?foo=bar&baz=bazinga&checksum=694ad46bc5a79a572bab6c8b9a939527c39ac7f6',
356+
$bigBlueButton->buildUrl('foo', 'foo=bar&baz=bazinga'),
357+
'URL is not ok'
358+
);
359+
}
349360
}

0 commit comments

Comments
 (0)