Skip to content

Commit a406713

Browse files
Updating the test and the phpunit.xml file.
1 parent 8cd5286 commit a406713

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

phpunit.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<!--<file>./path/to/file.php</file>-->
2020
</whitelist>
2121
</filter>
22+
2223
<php>
2324
<env name="APP_ENV" value="testing"/>
2425
<env name="CACHE_DRIVER" value="array"/>
@@ -27,6 +28,10 @@
2728
<env name="DB_CONNECTION" value="test"/>
2829
</php>
2930
<logging>
31+
<log type="coverage-html"
32+
target="./build/coverage/html"
33+
lowUpperBound="35"
34+
highLowerBound="70"/>
3035
<log type="coverage-clover" target="build/logs/clover.xml"/>
3136
</logging>
3237
</phpunit>

tests/ClientDailyPriceFixedIncomeTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace DPRMC\InteractiveData\RemotePlusClient\Tests;
44

5+
use DPRMC\InteractiveData\ClientCustomPriceFixedIncome;
56
use DPRMC\InteractiveData\ClientDailyPriceFixedIncome;
67
use DPRMC\InteractiveData\RemotePlusClient\Exceptions\UnparsableDateSentToConstructor;
78
use GuzzleHttp\Exception\ClientException;
@@ -86,4 +87,5 @@ public function testRunWithStubResponse() {
8687
$this->assertArrayHasKey( $this->validCusips[ 0 ], $cusipPriceArray );
8788
$this->assertEquals( $this->validPrices[ $this->validCusips[ 0 ] ], $cusipPriceArray[ $this->validCusips[ 0 ] ] );
8889
}
90+
8991
}

0 commit comments

Comments
 (0)