RemoteCookieTestTrait.php in Bakery Single Sign-On System 8.2
Namespace
Drupal\Tests\bakery\TraitsFile
tests/src/Traits/RemoteCookieTestTrait.phpView source
<?php
namespace Drupal\Tests\bakery\Traits;
trait RemoteCookieTestTrait {
use CookieTestTrait;
/**
* @var string
*/
protected $remotePath;
/**
* @covers ::getPath
* @dataProvider provideTestData
*/
public function testGetPath($data) {
$this
->assertEquals($this->remotePath, $this->cookie::fromData($data)
->getPath());
}
}
Traits
Name | Description |
---|---|
RemoteCookieTestTrait |