Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrorocker committed Apr 11, 2017
1 parent 5e9369a commit 1114736
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"autoload-dev": {
"psr-4": {
"Adrosoftware\\Aws3\\": "tests/"
"Adrosoftware\\Aws3\\Tests\\": "tests/"
},
"files": [
]
Expand Down
2 changes: 1 addition & 1 deletion src/Aws3.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Adrosoftware;
namespace Adrosoftware\Aws3;

class Aws3
{
Expand Down
7 changes: 3 additions & 4 deletions tests/Aws3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@
* @author Adro Rocker <[email protected]>
*/

namespace Adrosoftware;

use Adrosoftware\Aws3;
namespace Adrosoftware\Aws3\Tests;

use Adrosoftware\Aws3\Aws3;
use PHPUnit\Framework\TestCase;

class Aws3Test extends TestCase
{
public function testConstructor()
{
$s3 = new Aws3();
$this->assertInstanceOf('Adrosoftware\Aws3', $s3);
$this->assertInstanceOf('Adrosoftware\Aws3\Aws3', $s3);
}
}

0 comments on commit 1114736

Please sign in to comment.