Skip to content

Commit

Permalink
Create test for timezones model #2 #32
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts committed Mar 4, 2021
1 parent f10c838 commit dec6fba
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/Unit/Models/TimezoneModelTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

declare(strict_types=1);

namespace Tipoff\Addresses\Tests\Unit\Models;

use Illuminate\Foundation\Testing\DatabaseTransactions;
use Tipoff\Addresses\Models\Timezone;
use Tipoff\Addresses\Tests\TestCase;

class TimezoneModelTest extends TestCase
{
use DatabaseTransactions;

/** @test */
public function create()
{
$model = Timezone::factory()->create();
$this->assertNotNull($model);
}
}

0 comments on commit dec6fba

Please sign in to comment.