diff --git a/tests/src/Functional/ApigeeX/PurchasedProductListTest.php b/tests/src/Functional/ApigeeX/PurchasedProductListTest.php index c71068e2..ecc0b9d0 100755 --- a/tests/src/Functional/ApigeeX/PurchasedProductListTest.php +++ b/tests/src/Functional/ApigeeX/PurchasedProductListTest.php @@ -90,7 +90,7 @@ public function testPurchasedPlanListView() { $default_timezone = new \DateTimeZone('UTC'); $datetimeImmutable = new \DateTimeImmutable(); - $start_time = $datetimeImmutable->setTimezone($default_timezone)->setTimestamp($purchased_product->getStartTime() / 1000)->format('m/d/Y'); + $start_time = $datetimeImmutable->setTimezone($default_timezone)->setTimestamp((int) ($purchased_product->getStartTime() / 1000))->format('m/d/Y'); // Checking my purchased plans table columns. $this->assertCssElementText('.purchased-plan-row:nth-child(1) td.purchased-plan-status', 'Active');