Skip to content

Commit

Permalink
Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Feb 1, 2015
1 parent 654fe9d commit 1a0de40
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/WebProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ public function test_provide_ok()
public function test_retrieve_failure()
{
$provider = new WebProvider;
$path = 'undefined_locale/characters';

$provider->provide('undefined_locale/characters');
try
{
$provider->provide($path);
}
catch (ResourceNotFound $e)
{
$this->assertEquals($path, $e->path);

throw $e;
}
}
}

0 comments on commit 1a0de40

Please sign in to comment.