Skip to content

Commit 139d8be

Browse files
authored
Test fix: force JSON format for tests (#203)
This commit fixes the integration tests past switching to CBOR by default for the REST body format: the integration tests make use of the (textual) JSON format, which needs to be enabled in the connection string used by the simulated connection.
1 parent 2ed22a3 commit 139d8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/connected_dbc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ extern "C" {
100100
}"
101101

102102
/* minimal, valid connection string */
103-
#define CONNECT_STRING L"Driver=ElasticODBC"
103+
#define CONNECT_STRING L"Driver=ElasticODBC;Packing=JSON;"
104104

105105
class ConnectedDBC {
106106
protected:

0 commit comments

Comments
 (0)