public function LTIToolProviderControllerTest::testLtiLaunchNoContext in LTI Tool Provider 8
Same name and namespace in other branches
- 2.x tests/src/Unit/LTIToolProviderControllerTest.php \Drupal\Tests\lti_tool_provider\Unit\LTIToolProviderControllerTest::testLtiLaunchNoContext()
@covers ::ltiLaunch @covers ::__construct
File
- tests/
src/ Unit/ LTIToolProviderControllerTest.php, line 119
Class
- LTIToolProviderControllerTest
- LTIToolProviderController unit tests.
Namespace
Drupal\Tests\lti_tool_provider\UnitCode
public function testLtiLaunchNoContext() {
$controller = new LTIToolProviderController($this->configFactory, $this->loggerFactory, $this->eventDispatcher, $this->killSwitch, new Request(), new Session(), null, '/');
$this
->expectException(InvalidArgumentException::class);
$controller
->ltiLaunch();
}