diff --git a/test/unit/SendGridTest.php b/test/unit/SendGridTest.php index 15abff83e..6ecd24f09 100644 --- a/test/unit/SendGridTest.php +++ b/test/unit/SendGridTest.php @@ -1052,6 +1052,13 @@ public function test_ips__ip_address__get() $this->assertEquals($response->statusCode(), 200); } + public function test_license_date_range() + { + $license_file = file_get_contents("../../LICENSE.txt"); + $current_year = date("Y"); + $this->assertInternalType("int", strpos($license_file, "Copyright (c) 2012-" . $current_year . " SendGrid, Inc.")); + } + public function test_mail_batch_post() { $request_headers = array("X-Mock: 201");