Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
fsavina committed Mar 28, 2020
1 parent f61febc commit d55a5b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace LaravelApi\Tests;


use Calcinai\Strut\Swagger;
use Illuminate\Contracts\Routing\Registrar;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Routing\Router;
Expand Down Expand Up @@ -105,6 +106,12 @@ function () {
}


public function testSwaggerInstance()
{
$this->assertInstanceOf(Swagger::class, $this->api->swagger());
}


public function testTitle()
{
$this->assertIsString($this->api->title());
Expand Down

0 comments on commit d55a5b5

Please sign in to comment.