Skip to content

Commit

Permalink
StyleCI Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
R Mathieson committed May 9, 2023
1 parent 141481a commit 05aadda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/swagger-lume.php
Expand Up @@ -201,7 +201,7 @@
'constants' => [
'SWAGGER_LUME_CONST_HOST' => env('SWAGGER_LUME_CONST_HOST', 'http://my-default-host.com'),
],

/*
|--------------------------------------------------------------------------
| Force assets to be loaded over HTTPS (Solves mixed content errors when application is behind a load balancer.
Expand Down
5 changes: 3 additions & 2 deletions tests/ForceHttpsTest.php
Expand Up @@ -3,10 +3,11 @@
namespace Tests;

class ForceHttpsTest extends LumenTestCase
{
{
/** @test */
public function defaultFromEnv()
{
{
$this->assertNull(env('SWAGGER_LUME_FORCE_HTTPS'));
$this->assertStringContainsString('http://', swagger_lume_asset('swagger-ui.css'));
}

Expand Down

0 comments on commit 05aadda

Please sign in to comment.