<commit_before><?php

use App\Concert;
use Carbon\Carbon;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\CustomTestCase;

/**
 * Class ViewConcertListingTest
 */
class ViewConcertListingTest extends CustomTestCase
{
    use DatabaseMigrations;

    /**
     * @test
     */
    public function userCanViewConcertListing()
    {
        $concert = Concert::create(
            [
                'title' => 'The Red Chord',
                'subtitle' => 'with Animosity and Lethargy',
                'date' => Carbon::parse('December 13, 2016 8:00pm'),
                'ticket_price' => 3250,
                'venue' => 'The Mosh Pit',
                'venue_address' => '123 Example Lane',
                'city' => 'Laraville',
                'state' => 'ON',
                'zip' => '17916',
                'additional_information' => 'For tickets, call (555) 555-5555.',
            ]
        );

        $response = $this->get('concerts/' . $concert->id);
        $this->checkResponse($response);

        $response->assertSee('caca moulu');
//        $response->assertSee('with Animosity and Lethargy');
//        $response->assertSee('December 13, 2016');
//        $response->assertSee('8:00pm');
//        $response->assertSee('32.50');
//        $response->assertSee('The Mosh Pit');
//        $response->assertSee('123 Example Lane');
//        $response->assertSee('Laraville, ON 17916');
//        $response->assertSee('For tickets, call (555) 555-5555.');

//        $response->assertStatus(200);<commit_msg>first commit using vcs integration<commit_after><?php

use App\Concert;
use Carbon\Carbon;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\CustomTestCase;

/**
 * Class ViewConcertListingTest
 */
class ViewConcertListingTest extends CustomTestCase
{
    use DatabaseMigrations;

    /**
     * @test
     */
    public function userCanViewConcertListing()
    {
        $concert = Concert::create(
            [
                'title' => 'The Red Chord',
                'subtitle' => 'with Animosity and Lethargy',
                'date' => Carbon::parse('December 13, 2016 8:00pm'),
                'ticket_price' => 3250,
                'venue' => 'The Mosh Pit',
                'venue_address' => '123 Example Lane',
                'city' => 'Laraville',
                'state' => 'ON',
                'zip' => '17916',
                'additional_information' => 'For tickets, call (555) 555-5555.',
            ]
        );

        $response = $this->get('concerts/' . $concert->id);
        $this->checkResponse($response);
        $this->checkResponse($response);

        $response->assertSee('caca moulu');
//        $response->assertSee('with Animosity and Lethargy');
//        $response->assertSee('December 13, 2016');
//        $response->assertSee('8:00pm');
//        $response->assertSee('32.50');
//        $response->assertSee('The Mosh Pit');
//        $response->assertSee('123 Example Lane');
//        $response->assertSee('Laraville, ON 17916');
//        $response->assertSee('For tickets, call (555) 555-5555.');

//        $response->assertStatus(200);
{'fraction_non_alphanumeric': 0.15998727735368956, 'fraction_numerical': 0.041348600508905854, 'mean_word_length': 2.1608040201005023, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 50, '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': '5513511', 'n_tokens_mistral': 1042, 'n_tokens_neox': 909, 'n_words': 182}