Skip to content

Commit

Permalink
#v2.1.2112.1-rc - Improve autoloading and assertions (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k authored Dec 10, 2021
1 parent 5890db9 commit f9c4733
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
},
"autoload": {
"psr-4": {
"": "src/"
"BitPaySDKLight\\": "src/BitPaySDKLight"
}
},
"autoload-dev": {
"psr-4": {
"BitPaySDKLight\\Test\\": "tests/"
"BitPaySDKLight\\Test\\": "tests/BitPaySDKLight"
}
}
}
6 changes: 3 additions & 3 deletions tests/BitPaySDKLight/BitPayTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BitPaySDKLight\Tests;
namespace BitPaySDKLight\Test;


use BitPaySDKLight;
Expand Down Expand Up @@ -319,7 +319,7 @@ public function testShouldGetEURExchangeRate()
self::fail($e->getMessage());
}

$this->assertTrue($rate != 0);
$this->assertNotEquals(0, $rate);
}

public function testShouldGetCNYExchangeRate()
Expand All @@ -333,7 +333,7 @@ public function testShouldGetCNYExchangeRate()
self::fail($e->getMessage());
}

$this->assertTrue($rate != 0);
$this->assertNotEquals(0, $rate);
}

public function testShouldUpdateExchangeRates()
Expand Down

0 comments on commit f9c4733

Please sign in to comment.