Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Dec 16, 2021
1 parent 7ae7562 commit 9bda04f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/TypeProcessors/DtoCollectionTypeProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Spatie\TypeScriptTransformer\Tests\FakeClasses\Collections\UntypedDtoCollection;
use Spatie\TypeScriptTransformer\Tests\Fakes\FakeReflectionProperty;
use Spatie\TypeScriptTransformer\TypeProcessors\DtoCollectionTypeProcessor;
use Spatie\TypeScriptTransformer\Types\TypeScriptType;

class DtoCollectionTypeProcessorTest extends TestCase
{
Expand Down Expand Up @@ -80,7 +81,7 @@ public function it_will_process_a_dto_collection_without_type()
new MissingSymbolsCollection()
);

$this->assertEquals(new Array_(new Mixed_()), $type);
$this->assertEquals(new Array_(new TypeScriptType('any')), $type);
}

/** @test */
Expand Down

0 comments on commit 9bda04f

Please sign in to comment.