Skip to content

Commit 8bb4843

Browse files
committed
Changed all $this->assert to self::assert
1 parent dd23606 commit 8bb4843

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/ApiSettingsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ public function getVersionProvider()
3030
*/
3131
public function testGetVersion(string $input, string $output)
3232
{
33-
$this->assertSame($output, ApiSettings::getVersion($input));
33+
self::assertSame($output, ApiSettings::getVersion($input));
3434
}
3535

3636
public function testGetVersionDefault()
3737
{
38-
$this->assertTrue(strlen(ApiSettings::getVersion()) > 0);
38+
self::assertTrue(strlen(ApiSettings::getVersion()) > 0);
3939
}
4040

4141
public function testCreateUrl()
4242
{
4343
$expectedUrl = 'wss://ws.pusherapp.com/app/barBaz?client=api-clients%2Fpusher+%28https%3A%2F%2Fphp-api-clients.org%2Fclients%2Fpusher%29&protocol=7&version=' . ApiSettings::getVersion();
4444

45-
$this->assertSame($expectedUrl, ApiSettings::createUrl('barBaz'));
45+
self::assertSame($expectedUrl, ApiSettings::createUrl('barBaz'));
4646
}
4747
}

tests/AsyncClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ final class AsyncClientTest extends TestCase
99
{
1010
public function testTrue()
1111
{
12-
$this->assertTrue(true);
12+
self::assertTrue(true);
1313
}
1414
}

tests/CommandBus/Command/SharedAppClientCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ final class SharedAppClientCommandTest extends TestCase
1010
public function testGetApp()
1111
{
1212
$appId = uniqid('app-id-', true);
13-
$this->assertSame($appId, (new SharedAppClientCommand($appId))->getAppId());
13+
self::assertSame($appId, (new SharedAppClientCommand($appId))->getAppId());
1414
}
1515
}

0 commit comments

Comments
 (0)