File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ TEST_F(WorkspaceApiTest, ListWorkspaceObjectsSuccess) {
8888 ]
8989 })" ;
9090
91- EXPECT_CALL (*mock_client_, get (" /workspace/list?path=/test/path " ))
91+ EXPECT_CALL (*mock_client_, get (" /workspace/list?path=%2Ftest%2Fpath " ))
9292 .WillOnce (Return (MockHttpClient::success_response (mock_list_response)));
9393
9494 databricks::Workspace workspace (mock_client_);
@@ -119,7 +119,7 @@ TEST_F(WorkspaceApiTest, ListEmptyWorkspaceObjectsSuccess) {
119119 "objects": []
120120 })" ;
121121
122- EXPECT_CALL (*mock_client_, get (" /workspace/list?path=/test/path " ))
122+ EXPECT_CALL (*mock_client_, get (" /workspace/list?path=%2Ftest%2Fpath " ))
123123 .WillOnce (Return (MockHttpClient::success_response (mock_empty_list_response)));
124124
125125 databricks::Workspace workspace (mock_client_);
@@ -168,7 +168,7 @@ TEST_F(WorkspaceApiTest, GetStatusSuccess) {
168168 "modified_at": 1609545600000
169169 })" ;
170170
171- EXPECT_CALL (*mock_client_, get (" /workspace/get-status?path=/test/notebook " ))
171+ EXPECT_CALL (*mock_client_, get (" /workspace/get-status?path=%2Ftest%2Fnotebook " ))
172172 .WillOnce (Return (MockHttpClient::success_response (mock_status_response)));
173173
174174 databricks::Workspace workspace (mock_client_);
You can’t perform that action at this time.
0 commit comments