Skip to content

Commit

Permalink
simplify tax builder test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Jan 1, 2019
1 parent 9deb964 commit d8c09aa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/unit/Taxonomy/TaxonomyBuilderTest.php
Expand Up @@ -8,12 +8,7 @@ class TaxonomyBuilderTest extends WP_UnitTestCase
/** @test */
function it_takes_the_taxonomy_name_to_construct()
{
new Builder('new_tax');
}

/** @test */
function it_has_a_named_constructor_also()
{
$this->assertInstanceOf(Builder::class, new Builder('new_tax'));
$this->assertInstanceOf(Builder::class, Builder::make('new_tax'));
}

Expand Down

0 comments on commit d8c09aa

Please sign in to comment.