Skip to content

Commit

Permalink
Fix string length check
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Apr 21, 2021
1 parent c1525f6 commit 56e9863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ServersTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testCrud()
// Retrieve server password
$password = self::$client->servers->getPassword($createdServer->id);

$this->assertTrue($password->length >= 8);
$this->assertTrue(strlen($password) >= 8);

// Update a server and confirm it has changed
$retrievedServer->name = $retrievedServer->name . ' updated with ellipsis … and emoji 👨🏿‍🚒';
Expand Down

0 comments on commit 56e9863

Please sign in to comment.