Skip to content

Commit 7c6dfe0

Browse files
committed
Fixed post multi file test
1 parent 8453928 commit 7c6dfe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/post_tests.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ TEST(UrlEncodedPostTests, FormPostMultipleFilesTestLvalue) {
193193
Response response = cpr::Post(url, Multipart{{"singleFile", singleFileWithOverridenFilename}});
194194
std::string expected_text{
195195
"{\n"
196-
" \"files\": \"applefile=" +
196+
" \"singleFile\": \"applefile=" +
197197
content1 + "\"\n}"};
198198
EXPECT_EQ(expected_text, response.text);
199199
EXPECT_EQ(url, response.url);

0 commit comments

Comments
 (0)