1 parent f29f0f8 commit a80095eCopy full SHA for a80095e
1 file changed
tests/LtiDeepLinkResourceTest.php
@@ -154,9 +154,9 @@ public function testItCastsToArray()
154
];
155
$lineitem = Mockery::mock(LtiLineitem::class);
156
$lineitem->shouldReceive('getScoreMaximum')
157
- ->once()->andReturn($expected['lineItem']['scoreMaximum']);
+ ->twice()->andReturn($expected['lineItem']['scoreMaximum']);
158
$lineitem->shouldReceive('getLabel')
159
- ->once()->andReturn($expected['lineItem']['label']);
+ ->twice()->andReturn($expected['lineItem']['label']);
160
161
$this->deepLinkResource->setTitle($expected['title']);
162
$this->deepLinkResource->setText($expected['text']);
0 commit comments