Skip to content

Commit 8777031

Browse files
committed
Update tests
1 parent f88a344 commit 8777031

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
Node16,
3535
Node18,
3636
Node20,
37-
PHP74,
3837
PHP80,
38+
PHP83,
3939
Python38,
4040
Python39,
4141
Python310,

tests/PHP74Test.php renamed to tests/PHP83Test.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

3-
namespace Tests;
43

5-
class PHP74Test extends Base
4+
use Tests\Base;
5+
6+
class PHP83Test extends Base
67
{
78
protected string $sdkName = 'php';
89
protected string $sdkPlatform = 'server';
@@ -13,7 +14,7 @@ class PHP74Test extends Base
1314
protected string $class = 'Appwrite\SDK\Language\PHP';
1415
protected array $build = [];
1516
protected string $command =
16-
'docker run --network="mockapi" --rm -v $(pwd):/app -w /app php:7.4-cli-alpine php tests/languages/php/test.php';
17+
'docker run --network="mockapi" --rm -v $(pwd):/app -w /app php:8.3-cli-alpine php tests/languages/php/test.php';
1718

1819
protected array $expectedOutput = [
1920
...Base::FOO_RESPONSES,

0 commit comments

Comments
 (0)