Skip to content

Commit a80095e

Browse files
authored
Update LtiDeepLinkResourceTest.php
1 parent f29f0f8 commit a80095e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/LtiDeepLinkResourceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ public function testItCastsToArray()
154154
];
155155
$lineitem = Mockery::mock(LtiLineitem::class);
156156
$lineitem->shouldReceive('getScoreMaximum')
157-
->once()->andReturn($expected['lineItem']['scoreMaximum']);
157+
->twice()->andReturn($expected['lineItem']['scoreMaximum']);
158158
$lineitem->shouldReceive('getLabel')
159-
->once()->andReturn($expected['lineItem']['label']);
159+
->twice()->andReturn($expected['lineItem']['label']);
160160

161161
$this->deepLinkResource->setTitle($expected['title']);
162162
$this->deepLinkResource->setText($expected['text']);

0 commit comments

Comments
 (0)