public function SubscriptionControllerTest::testMissingSubscription in Feeds 8.3
@covers ::handleSubscribe
File
- tests/
src/ Unit/ Controller/ SubscriptionControllerTest.php, line 174
Class
- SubscriptionControllerTest
- @coversDefaultClass \Drupal\feeds\Controller\SubscriptionController @group feeds
Namespace
Drupal\Tests\feeds\Unit\ControllerCode
public function testMissingSubscription() {
$this
->expectException(NotFoundHttpException::class);
$this->controller
->subscribe(2, 'valid_token', $this->request);
}