Skip to content

Commit

Permalink
add TaxonomyRegistrarTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgrainger committed Oct 24, 2024
1 parent acac675 commit e37ce1d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/Registrars/TaxonomyRegistrarTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

use PHPUnit\Framework\TestCase;
use PostTypes\Registrars\TaxonomyRegistrar;
use PostTypes\Taxonomy;

class TaxonomyRegistrarTest extends TestCase
{
/** @test */
public function canCreateTaxonomyRegistrar()
{
$taxonomy = new Taxonomy('genre');
$registrar = new TaxonomyRegistrar($taxonomy);

$this->assertInstanceOf(TaxonomyRegistrar::class, $registrar);
}
}

0 comments on commit e37ce1d

Please sign in to comment.