<commit_before><?php

namespace MZ\BlogBundle\Tests\Controller;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

class AdminControllerTest extends WebTestCase
{

    public function testRedirect()
    {
        $client = static::createClient();

        $client->request('GET', '/admin/');
        $this->assertEquals(302, $client->getResponse()->getStatusCode());
    }

    public function testLogin()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/login/');

        $form = $crawler->selectButton('_submit')->form();

        $form['_username'] = 'miguel';
        $form['_password'] = '<PASSWORD>';

        $crawler = $client->submit($form);

        //$this->assertEquals(302, $client->getResponse()->getStatusCode());
    }

}<commit_msg>Remove on use test<commit_after><?php

namespace MZ\BlogBundle\Tests\Controller;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

class AdminControllerTest extends WebTestCase
{
    public function testIndex()
    {
    }
}
{'fraction_non_alphanumeric': 0.1587147030185005, 'fraction_numerical': 0.005842259006815969, 'mean_word_length': 3.508771929824561, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 15, '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': '5042080', 'n_tokens_mistral': 306, 'n_tokens_neox': 295, 'n_words': 51}