<commit_before><?php

namespace App\Containers\AppSection\Authentication\UI\API\Tests\Functional;

use App\Containers\AppSection\Authentication\Tests\ApiTestCase;

/**
 * Class ApiLogoutTest
 *
 * @group authentication
 * @group api
 */
class ApiLogoutTest extends ApiTestCase
{
    protected string $endpoint = 'delete@v1/logout';

    protected array $access = [
        'permissions' => '',
        'roles' => '',
    ];

    public function testLogout(): void
    {
        $response = $this->makeCall([], [
            'Authorization' => '<KEY>'
        ]);

        $response->assertStatus(202);
        $this->assertResponseContainKeyValue([<commit_msg>Fix test<commit_after><?php

namespace App\Containers\AppSection\Authentication\UI\API\Tests\Functional;

use App\Containers\AppSection\Authentication\Tests\ApiTestCase;

/**
 * Class ApiLogoutTest
 *
 * @group authentication
 * @group api
 */
class ApiLogoutTest extends ApiTestCase
{
    protected string $endpoint = 'delete@v1/logout';

    protected array $access = [
        'permissions' => '',
        'roles' => '',
    ];

    public function testLogout(): void
    {
        $response = $this->makeCall([], [
            'Authorization' => '<KEY>'
        ]);

        $response->assertStatus(202);
        $this->assertResponseContainKeyValue([
{'fraction_non_alphanumeric': 0.1414448669201521, 'fraction_numerical': 0.006083650190114068, 'mean_word_length': 3.03680981595092, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6081584', 'n_tokens_mistral': 384, 'n_tokens_neox': 383, 'n_words': 68}