11/*
22* Copyright (c) 2018 Algolia
33* http://www.algolia.com/
4- *
4+ *
55* Permission is hereby granted, free of charge, to any person obtaining a copy
66* of this software and associated documentation files (the "Software"), to deal
77* in the Software without restriction, including without limitation the rights
88* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99* copies of the Software, and to permit persons to whom the Software is
1010* furnished to do so, subject to the following conditions:
11- *
11+ *
1212* The above copyright notice and this permission notice shall be included in
1313* all copies or substantial portions of the Software.
14- *
14+ *
1515* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -45,7 +45,11 @@ public void Setup()
4545 {
4646 TestHelper . CheckEnvironmentVariable ( ) ;
4747 SearchClient = new SearchClient ( TestHelper . ApplicationId1 , TestHelper . AdminKey1 ) ;
48- SearchClient2 = new SearchClient ( TestHelper . ApplicationId2 , TestHelper . AdminKey2 ) ;
48+ SearchConfig configClient2 = new SearchConfig ( TestHelper . ApplicationId2 , TestHelper . AdminKey2 )
49+ {
50+ Compression = CompressionType . NONE
51+ } ;
52+ SearchClient2 = new SearchClient ( configClient2 ) ;
4953 McmClient = new SearchClient ( TestHelper . McmApplicationId , TestHelper . McmAdminKey ) ;
5054 AnalyticsClient = new AnalyticsClient ( TestHelper . ApplicationId1 , TestHelper . AdminKey1 ) ;
5155 }
@@ -83,4 +87,4 @@ protected void PreviousTestCleanUp()
8387
8488 SearchClient . MultipleBatch ( operations ) ;
8589 }
86- }
90+ }
0 commit comments