GingerbreadReturnTest.php in Bakery Single Sign-On System 8.2
File
tests/src/Unit/Cookies/GingerbreadReturnTest.php
View source
<?php
namespace Drupal\Tests\bakery\Unit\Cookies;
use Drupal\bakery\Cookies\GingerbreadReturn;
use Drupal\Tests\bakery\Traits\CookieTestTrait;
use Drupal\Tests\UnitTestCase;
class GingerbreadReturnTest extends UnitTestCase {
use CookieTestTrait;
public function setUp() {
parent::setUp();
$this->cookie = GingerbreadReturn::class;
$this->cookieName = 'gingerbread';
}
public function provideTestData() {
return [
'basic' => [
[
'name' => 'testuser1',
'mail' => 'test@example.com',
'uid' => 123,
],
],
];
}
}