You are here

public function KitchenTest::testTasteDataMissingKey in Bakery Single Sign-On System 8.2

@covers ::tasteData

File

tests/src/Unit/KitchenTest.php, line 279

Class

KitchenTest
@coversDefaultClass \Drupal\bakery\Kitchen

Namespace

Drupal\Tests\bakery\Unit

Code

public function testTasteDataMissingKey() {
  $this->config
    ->set('bakery_key', '');
  $this
    ->expectException(MissingKeyException::class);
  $this->kitchen
    ->tasteData('asdf', Stroopwafel::getName());
}