diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-16 09:04:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 89d241a79c262b9775c233b73cff080043ebb5e6 (patch) | |
tree | cb3b6cb431d25d891ef4e02f66c61d252d17048f /server/tests/api/activitypub/security.ts | |
parent | d23dd9fbfc4d26026352c10f81d2795ceaf2908a (diff) | |
download | PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.gz PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.zst PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.zip |
Shorter server command names
Diffstat (limited to 'server/tests/api/activitypub/security.ts')
-rw-r--r-- | server/tests/api/activitypub/security.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/activitypub/security.ts b/server/tests/api/activitypub/security.ts index c32940070..ab0eb256e 100644 --- a/server/tests/api/activitypub/security.ts +++ b/server/tests/api/activitypub/security.ts | |||
@@ -24,8 +24,8 @@ function setKeysOfServer (onServer: ServerInfo, ofServer: ServerInfo, publicKey: | |||
24 | const url = 'http://localhost:' + ofServer.port + '/accounts/peertube' | 24 | const url = 'http://localhost:' + ofServer.port + '/accounts/peertube' |
25 | 25 | ||
26 | return Promise.all([ | 26 | return Promise.all([ |
27 | onServer.sqlCommand.setActorField(url, 'publicKey', publicKey), | 27 | onServer.sql.setActorField(url, 'publicKey', publicKey), |
28 | onServer.sqlCommand.setActorField(url, 'privateKey', privateKey) | 28 | onServer.sql.setActorField(url, 'privateKey', privateKey) |
29 | ]) | 29 | ]) |
30 | } | 30 | } |
31 | 31 | ||
@@ -33,8 +33,8 @@ function setUpdatedAtOfServer (onServer: ServerInfo, ofServer: ServerInfo, updat | |||
33 | const url = 'http://localhost:' + ofServer.port + '/accounts/peertube' | 33 | const url = 'http://localhost:' + ofServer.port + '/accounts/peertube' |
34 | 34 | ||
35 | return Promise.all([ | 35 | return Promise.all([ |
36 | onServer.sqlCommand.setActorField(url, 'createdAt', updatedAt), | 36 | onServer.sql.setActorField(url, 'createdAt', updatedAt), |
37 | onServer.sqlCommand.setActorField(url, 'updatedAt', updatedAt) | 37 | onServer.sql.setActorField(url, 'updatedAt', updatedAt) |
38 | ]) | 38 | ]) |
39 | } | 39 | } |
40 | 40 | ||