1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +12:00
appwrite/tests/e2e/Scopes/SideClient.php
prateek banga ac33d7828f Revert "Pint linter ran"
This reverts commit bf5f0a8419.
2023-08-24 01:53:52 +05:30

23 lines
390 B
PHP

<?php
namespace Tests\E2E\Scopes;
trait SideClient
{
public function getHeaders(): array
{
return [
'origin' => 'http://localhost',
'cookie' => 'a_session_' . $this->getProject()['$id'] . '=' . $this->getUser()['session'],
];
}
/**
* @return string
*/
public function getSide()
{
return 'client';
}
}