<commit_before><?php

namespace Tests\Unit;

use Tests\UnitTestCase;

class GpsModelTest extends UnitTestCase
{

    public function testHasCompany()
    {
    
        $company = factory(\App\Entities\Company::class)->create();
        $gps = factory(\App\Entities\Gps::class)->create([
            'company_id' => $company->id,
        ]);
    
        $this->assertEquals($gps->company->name, $company->name);
    }
    
    public function testHasContact()
    {
    
        $vehicle = factory(\App\Entities\Vehicle::class)->create();
        $gps = factory(\App\Entities\Gps::class)->create([
            'vehicle_id' => $vehicle->id,
        ]);
    
        $this->assertEquals($gps->vehicle->number, $vehicle->number);
    }
}
<commit_msg>Correção em teste de gps<commit_after><?php

namespace Tests\Unit;

use Tests\UnitTestCase;

class GpsModelTest extends UnitTestCase
{

    public function testHasCompany()
    {
    
        $company = factory(\App\Entities\Company::class)->create();
        $gps = factory(\App\Entities\Gps::class)->create([
            'company_id' => $company->id,
        ]);
    
        $this->assertEquals($gps->company->name, $company->name);
    }
    
    public function testHasVehicle()
    {
    
        $vehicle = factory(\App\Entities\Vehicle::class)->create();
        $gps = factory(\App\Entities\Gps::class)->create([
            'vehicle_id' => $vehicle->id,
        ]);
    
        $this->assertEquals($gps->vehicle->number, $vehicle->number);
    }
}

{'fraction_non_alphanumeric': 0.16589250165892502, 'fraction_numerical': 0.0, 'mean_word_length': 2.4826789838337184, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '2460424', 'n_tokens_mistral': 462, 'n_tokens_neox': 464, 'n_words': 66}