Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Nov 18, 2024
1 parent eda0f3f commit 2c558a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/upload_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func (s *UploadTestSuite) TestUpload() {
client2 := &test_internals.MatrixClient{
ClientServerUrl: s.deps.Machines[1].HttpUrl, // deliberately the second machine
ServerName: s.deps.Homeservers[1].ServerName, // deliberately the second machine
AccessToken: "", // no auth for downloads
UserId: "", // no auth for downloads
AccessToken: s.deps.Homeservers[1].UnprivilegedUsers[0].AccessToken,
UserId: s.deps.Homeservers[1].UnprivilegedUsers[0].UserId,
}

contentType, img, err := test_internals.MakeTestImage(512, 512)
Expand Down Expand Up @@ -258,8 +258,8 @@ func (s *UploadTestSuite) TestUploadAsyncFlow() {
client2 := &test_internals.MatrixClient{
ClientServerUrl: s.deps.Machines[1].HttpUrl, // deliberately the second machine
ServerName: s.deps.Homeservers[1].ServerName, // deliberately the second machine
AccessToken: "", // no auth for downloads
UserId: "", // no auth for downloads
AccessToken: s.deps.Homeservers[1].UnprivilegedUsers[0].AccessToken,
UserId: s.deps.Homeservers[1].UnprivilegedUsers[0].UserId,
}

contentType, img, err := test_internals.MakeTestImage(512, 512)
Expand Down

0 comments on commit 2c558a6

Please sign in to comment.