Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
denis bonnenfant
bigbluebutton-api-php
Commits
d21b4cb0
Commit
d21b4cb0
authored
Apr 10, 2019
by
Ghazi Triki
Browse files
Replace the non-working image placeholder service by a newest one.
parent
b741c452
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/BigBlueButtonTest.php
View file @
d21b4cb0
...
...
@@ -99,7 +99,7 @@ class BigBlueButtonTest extends TestCase
public
function
testCreateMeetingWithDocumentUrl
()
{
$params
=
$this
->
getCreateMock
(
$this
->
generateCreateParams
());
$params
->
addPresentation
(
'https://p
laceholdit.imgix.net/~text?txtsize=96&bg=30406B&txtclr=ffffff&txt=BigBlueButton&w=800&h=600
'
);
$params
->
addPresentation
(
'https://p
icsum.photos/3840/2160/?random
'
);
$result
=
$this
->
bbb
->
createMeeting
(
$params
);
...
...
@@ -113,7 +113,7 @@ class BigBlueButtonTest extends TestCase
public
function
testCreateMeetingWithDocumentUrlAndFileName
()
{
$params
=
$this
->
getCreateMock
(
$this
->
generateCreateParams
());
$params
->
addPresentation
(
'https://p
laceholdit.imgix.net/~text?txtsize=100&bg=AB5080&txtclr=ffffff&txt=BigBlueButton&w=1920&h=1080
'
,
null
,
'placeholder.png'
);
$params
->
addPresentation
(
'https://p
icsum.photos/3840/2160/?random
'
,
null
,
'placeholder.png'
);
$result
=
$this
->
bbb
->
createMeeting
(
$params
);
...
...
@@ -141,7 +141,7 @@ class BigBlueButtonTest extends TestCase
public
function
testCreateMeetingWithMultiDocument
()
{
$params
=
$this
->
getCreateMock
(
$this
->
generateCreateParams
());
$params
->
addPresentation
(
'https://p
laceholdit.imgix.net/~text?txtsize=96&bg=DE3040&txtclr=ffffff&txt=BigBlueButton&w=1600&h=1200
'
,
null
,
'presentation.png'
);
$params
->
addPresentation
(
'https://p
icsum.photos/3840/2160/?random
'
,
null
,
'presentation.png'
);
$params
->
addPresentation
(
'logo.png'
,
file_get_contents
(
__DIR__
.
DIRECTORY_SEPARATOR
.
'fixtures'
.
DIRECTORY_SEPARATOR
.
'bbb_logo.png'
));
$result
=
$this
->
bbb
->
createMeeting
(
$params
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment