mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Switch to sqscreds param for passing in SQS credentials
This commit is contained in:
parent
fe56eaddf4
commit
9fe2ca58a0
7 changed files with 89 additions and 18 deletions
|
@ -284,7 +284,7 @@ func TestSQSRendezvous(t *testing.T) {
|
|||
|
||||
Convey("Construct SQS queue rendezvous", func() {
|
||||
transport := &mockTransport{http.StatusOK, []byte{}}
|
||||
rend, err := newSQSRendezvous("https://sqs.us-east-1.amazonaws.com", "some-access-key-id", "some-secret-key", transport)
|
||||
rend, err := newSQSRendezvous("https://sqs.us-east-1.amazonaws.com", "eyJhd3MtYWNjZXNzLWtleS1pZCI6InRlc3QtYWNjZXNzLWtleSIsImF3cy1zZWNyZXQta2V5IjoidGVzdC1zZWNyZXQta2V5In0=", transport)
|
||||
|
||||
So(err, ShouldBeNil)
|
||||
So(rend.sqsClient, ShouldNotBeNil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue