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

24 lines
406 B
PHP

<?php
namespace Tests\E2E\Scopes;
trait SideConsole
{
public function getHeaders(): array
{
return [
'origin' => 'http://localhost',
'cookie' => 'a_session_console=' . $this->getRoot()['session'],
'x-appwrite-mode' => 'admin'
];
}
/**
* @return string
*/
public function getSide()
{
return 'console';
}
}