CustomerLogTest.php 476 B

123456789101112131415161718192021
  1. <?php
  2. use App\CustomerLog;
  3. use Illuminate\Database\Eloquent\Relations\BelongsTo;
  4. use Illuminate\Foundation\Testing\RefreshDatabase;
  5. use Tests\TestCase;
  6. class CustomerLogTest extends TestCase
  7. {
  8. use RefreshDatabase;
  9. /**
  10. * @test
  11. */
  12. public function customerLog_belongsTo_customerLogStatus()
  13. {
  14. $customerLog = factory(CustomerLog::class)->create();
  15. $this->assertInstanceOf(BelongsTo::class, $customerLog->customerLogStatus());
  16. }
  17. }