Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Oct 23, 2017
1 parent 3eade20 commit f0a5f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/AssetServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function testGetAsset_noVendorPackage()
{
$asset = $this->service->getAsset('no-vendor', 'no-package', 'style.css');
$this->assertNull($asset->path);
$this->assertNull($asset->type);
$this->assertEquals('application/octet-stream', $asset->type);
}

public function testGetAsset_noType()
Expand All @@ -41,6 +41,6 @@ public function testGetAsset_noType()
$expect = $this->asset_dir . DIRECTORY_SEPARATOR . 'fake.txt';
$this->assertSame($expect, $asset->path);

$this->assertNull($asset->type);
$this->assertEquals('application/octet-stream', $asset->type);
}
}

0 comments on commit f0a5f98

Please sign in to comment.