Skip to content

Commit 295cd81

Browse files
committed
Test the CLI against Appwrite instead of homepage
A recent change to Appwrite stopped allowing loose matches for endpoints. As such, https://stage.appwrite.io/v1/health/version no longer matches https://stage.appwrite.io/version, causing tests to fail.
1 parent 71b8ca6 commit 295cd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/languages/cli/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { exec, execSync } = require('child_process');
22

3-
execSync("node index client --endpoint 'https://stage.appwrite.io/v1' --projectId console --key=35y3h5h345 --selfSigned true", { stdio: 'inherit' });
3+
execSync("node index client --endpoint 'https://demo.appwrite.io/v1' --projectId console --key=35y3h5h345 --selfSigned true", { stdio: 'inherit' });
44

55
var output;
66
console.log('\nTest Started');

0 commit comments

Comments
 (0)