summaryrefslogtreecommitdiffstats
path: root/test/TinifyClientTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/TinifyClientTest.php')
-rw-r--r--test/TinifyClientTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/TinifyClientTest.php b/test/TinifyClientTest.php
index 1df1131..1ad0c92 100644
--- a/test/TinifyClientTest.php
+++ b/test/TinifyClientTest.php
@@ -62,7 +62,7 @@ class TinifyClientTest extends TestCase {
$client = new Tinify\Client("key");
$client->request("get", "/");
- $this->assertSame(488, Tinify\getRemainingCredits());
+ $this->assertSame(488, Tinify\remainingCredits());
}
public function testRequestWhenValidShouldUpdatePayingState() {
@@ -72,7 +72,7 @@ class TinifyClientTest extends TestCase {
$client = new Tinify\Client("key");
$client->request("get", "/");
- $this->assertSame("free", Tinify\getPayingState());
+ $this->assertSame("free", Tinify\payingState());
}
public function testRequestWhenValidShouldUpdateEmailAddress() {
@@ -82,7 +82,7 @@ class TinifyClientTest extends TestCase {
$client = new Tinify\Client("key");
$client->request("get", "/");
- $this->assertSame("test@example.com", Tinify\getEmailAddress());
+ $this->assertSame("test@example.com", Tinify\emailAddress());
}
public function testRequestWhenValidWithAppIdShouldIssueRequestWithUserAgent() {