public function UriSignerTest::testSign in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/UriSignerTest.php \Symfony\Component\HttpKernel\Tests\UriSignerTest::testSign()
File
- vendor/
symfony/ http-kernel/ Tests/ UriSignerTest.php, line 18
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testSign() {
$signer = new UriSigner('foobar');
$this
->assertContains('?_hash=', $signer
->sign('http://example.com/foo'));
$this
->assertContains('&_hash=', $signer
->sign('http://example.com/foo?foo=bar'));
}