Skip to content

Commit

Permalink
Fix unit test by adding new namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jmathai committed Nov 28, 2015
1 parent 7537b1f commit 33511a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/S3BucketStreamZipTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@
* @copyright Copyright 2015, Jaisen Mathai
*/

namespace S3BucketStreamZipTest;
namespace JMathai\S3BucketStreamZipTest;

use S3BucketStreamZip\S3BucketStreamZip;
use JMathai\S3BucketStreamZip\S3BucketStreamZip;
use PHPUnit_Framework_TestCase;

class S3BucketStreamZipTest extends PHPUnit_Framework_TestCase
{
/**
* @expectedException \S3BucketStreamZip\Exception\InvalidParameterException
* @expectedException \JMathai\S3BucketStreamZip\Exception\InvalidParameterException
*/
public function testInvalidParamsToConstructorKey()
{
$client = new S3BucketStreamZip(array(), array());
}

/**
* @expectedException \S3BucketStreamZip\Exception\InvalidParameterException
* @expectedException \JMathai\S3BucketStreamZip\Exception\InvalidParameterException
*/
public function testInvalidParamsToConstructorSecret()
{
$client = new S3BucketStreamZip(array('key' => 'foo'), array());
}

/**
* @expectedException \S3BucketStreamZip\Exception\InvalidParameterException
* @expectedException \JMathai\S3BucketStreamZip\Exception\InvalidParameterException
*/
public function testInvalidParamsToConstructorBucket()
{
Expand Down

0 comments on commit 33511a5

Please sign in to comment.