1
0
Fork 0
mirror of synced 2024-07-05 06:31:08 +12:00
appwrite/tests/e2e/Scopes/SideClient.php

15 lines
280 B
PHP
Raw Normal View History

2020-01-12 02:58:02 +13:00
<?php
namespace Tests\E2E\Scopes;
trait SideClient
{
public function getHeaders():array
{
2020-01-13 10:28:26 +13:00
return [
'origin' => 'http://localhost',
'cookie' => 'a_session_'.$this->getProject()['$uid'].'=' . $this->getUser()['session'],
];
2020-01-12 02:58:02 +13:00
}
}