Skip to content

Commit 73fdbd2

Browse files
committed
Use in_array() instead of array_search() in BigBlueButtonTest::testInsertDocumentFile().
1 parent 3f4705e commit 73fdbd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/BigBlueButtonTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function testInsertDocumentFile(): void
309309
$insertDocumentResponse = $this->bbb->insertDocument($insertDocumentParameters);
310310

311311
// ASSERT
312-
if (!array_search(Feature::PRESENTATION, $createMeetingParameters->getDisabledFeatures()) > 0) {
312+
if (!in_array(Feature::PRESENTATION, $createMeetingParameters->getDisabledFeatures()) {
313313
$this->assertTrue($insertDocumentResponse->success());
314314
} else {
315315
$this->assertTrue($insertDocumentResponse->failed());

0 commit comments

Comments
 (0)