Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Jan 21, 2018
1 parent 2fc460d commit 42366c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/UploadServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ public function testBoot()
);
$app->shouldReceive('runningInConsole')->once()->andReturn(true);
$serviceProvider->boot();
$this->assertAttributeNotEmpty('publishes', $serviceProvider);
if (method_exists('Recca0120\Upload\UploadServiceProvider', 'publishableProviders') === true) {
$this->assertNotEmpty(UploadServiceProvider::publishableProviders());
} else {
$this->assertAttributeNotEmpty('publishes', $serviceProvider);
}
}
}

0 comments on commit 42366c9

Please sign in to comment.