You are here

public function JuicerSimpleTest::testJuicerAnonConfigFormMenu in Juicer - Social Media Feed Aggregator 8

Test Juicer page.

Enable Juicer and see if it can return its main page. Should return a 403.

File

tests/src/Functional/JuicerSimpleTest.php, line 61

Class

JuicerSimpleTest
Ensure that the juicerio content type provided functions properly.

Namespace

Drupal\Tests\juicerio\Functional

Code

public function testJuicerAnonConfigFormMenu() {

  // Verify that anonymous cannot access the config page.
  $this
    ->drupalGet('admin/config/services/juicerio');
  $this
    ->assertResponse(403);
}