@@ -35,13 +35,13 @@ class SDKTest extends TestCase
35
35
'build ' => [
36
36
'mkdir -p tests/sdks/dart/tests ' ,
37
37
'cp tests/languages/dart/tests.dart tests/sdks/dart/tests/tests.dart ' ,
38
- 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=vendor appwrite/flutter:0.3.0 flutter pub get ' ,
38
+ 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=vendor google/dart:latest pub get ' ,
39
39
],
40
40
'envs ' => [
41
- ' flutter ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=vendor appwrite/flutter:0.3.0 flutter pub run tests/tests.dart ' ,
42
- // 'dart-2.6 ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=tests/sdks/dart/ vendor google/dart:2.6 pub run test /tests.dart',
43
- // 'dart-2.7 ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=tests/sdks/dart/ vendor google/dart:2.7 pub run test /tests.dart',
44
- // 'dart-2.8-dev ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=tests/sdks/dart/ vendor google/dart:2.8-dev pub run test /tests.dart',
41
+ // 'dart-2.6 ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=vendor google/dart:2.6 pub run tests/tests.dart',
42
+ 'dart-2.7 ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=vendor google/dart:2.7 pub run tests /tests.dart ' ,
43
+ 'dart-2.8 ' => 'docker run --rm --tty -it - v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=vendor google/dart:2.8 pub run tests /tests.dart ' ,
44
+ 'dart-2.10 ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/dart --env PUB_CACHE=vendor google/dart:2.10 dart pub run tests /tests.dart ' ,
45
45
],
46
46
],
47
47
@@ -178,6 +178,7 @@ public function testHTTPSuccess()
178
178
->setLogo ('https://appwrite.io/v1/images/console.png ' )
179
179
->setWarning ('**WORK IN PROGRESS - THIS IS JUST A TEST SDK** ' )
180
180
->setVersion ('0.0.1 ' )
181
+ ->setExamples ('**EXAMPLES** <HTML> ' )
181
182
->setNamespace ("io appwrite " )
182
183
->setGitUserName ('repoowner ' )
183
184
->setGitRepoName ('reponame ' )
0 commit comments