Skip to content

Commit

Permalink
Fixed issue in webservicex test
Browse files Browse the repository at this point in the history
  • Loading branch information
florianv committed Dec 10, 2016
1 parent 54cd591 commit 75fb823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Tests/Service/WebserviceXTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ public function it_fetches_a_rate()
$rate = $service->getExchangeRate(new ExchangeRateQuery(CurrencyPair::createFromString('EUR/USD')));

$this->assertEquals('1.3608', $rate->getValue());
$this->assertEquals(new \DateTime(), $rate->getDate());
$this->assertEquals((new \DateTime())->format('Y-m-d'), $rate->getDate()->format('Y-m-d'));
}
}

0 comments on commit 75fb823

Please sign in to comment.