Skip to content

Commit 6c505bf

Browse files
committed
fix filename and add new test for latest deno version
1 parent 08d2b35 commit 6c505bf

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ env:
2727
- SDK=CLINode16
2828
- SDK=DartBeta
2929
- SDK=DartStable
30-
- SDK=Deno1171
30+
- SDK=Deno1193
31+
- SDK=Deno1303
3132
- SDK=FlutterStable
3233
- SDK=FlutterBeta
3334
- SDK=Go112
File renamed without changes.

tests/Deno1303Test.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
namespace Tests;
4+
5+
class Deno1171Test extends Base
6+
{
7+
protected string $sdkName = 'deno';
8+
protected string $sdkPlatform = 'server';
9+
protected string $sdkLanguage = 'deno';
10+
protected string $version = '0.0.1';
11+
12+
protected string $language = 'deno';
13+
protected string $class = 'Appwrite\SDK\Language\Deno';
14+
protected array $build = [];
15+
protected string $command =
16+
'docker run --rm -v $(pwd):/app -w /app denoland/deno:alpine-1.30.3 run --allow-net --allow-read tests/languages/deno/tests.ts';
17+
18+
protected array $expectedOutput = [
19+
...Base::FOO_RESPONSES,
20+
...Base::BAR_RESPONSES,
21+
...Base::GENERAL_RESPONSES,
22+
...Base::LARGE_FILE_RESPONSES,
23+
...Base::EXCEPTION_RESPONSES,
24+
...Base::QUERY_HELPER_RESPONSES,
25+
...Base::PERMISSION_HELPER_RESPONSES,
26+
...Base::ID_HELPER_RESPONSES
27+
];
28+
}

0 commit comments

Comments
 (0)