Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jun 25, 2019
1 parent edb3809 commit 58172ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use GrahamCampbell\PackagistStats\Client;
use Packagist\Api\Client as Packagist;
use PHPUnit\Framework\TestCase;
use TypeError;

/**
* This is the client test class.
Expand All @@ -33,11 +34,10 @@ public function testCanBeInstantiated()
$this->assertInstanceOf(Packagist::class, $client->getPackagistClient());
}

/**
* @expectedException TypeError
*/
public function testInstantiationRequiresParam()
{
$this->expectException(TypeError::class);

new Client();
}
}

0 comments on commit 58172ef

Please sign in to comment.