Skip to content

Commit

Permalink
cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed May 22, 2024
1 parent b1705b7 commit ce4cc2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tables/sofa/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,16 +252,17 @@ func TestDownloadData(t *testing.T) {
server := setup()
defer teardown(server)

tmpDir := os.TempDir()
cwd, err := os.Getwd()
assert.NoError(t, err)

// Create a SofaClient
client := &SofaClient{
endpoint: server.URL,
httpClient: http.DefaultClient,
cacheDir: tmpDir,
cacheDir: cwd,
}

err := client.createCacheDir()
err = client.createCacheDir()
assert.NoError(t, err)

client.setCachePaths()
Expand Down
1 change: 1 addition & 0 deletions tables/sofa/macos_data_feed.json.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
W/"123456789"

0 comments on commit ce4cc2a

Please sign in to comment.