You are here

public function StroopwafelTest::setUp in Bakery Single Sign-On System 8.2

Overrides UnitTestCase::setUp

File

tests/src/Unit/Cookies/StroopwafelTest.php, line 17

Class

StroopwafelTest
@coversDefaultClass \Drupal\bakery\Cookies\Stroopwafel

Namespace

Drupal\Tests\bakery\Unit\Cookies

Code

public function setUp() {
  parent::setUp();
  $this->cookie = Stroopwafel::class;
  $this->cookieName = 'stroopwafel';
  $this->remotePath = 'bakery/update';

  // Legacy category property.
  $this->dataExtra = [
    'category' => 'account',
  ];
}