@@ -13,6 +13,7 @@ public void Constructor_ShouldInitializeWithOAuthOptions()
1313
1414 var options = new ContentstackOptions
1515 {
16+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
1617 ApiKey = "test_api_key" ,
1718 Host = "api.contentstack.io" ,
1819 IsOAuth = true ,
@@ -36,6 +37,7 @@ public void Constructor_ShouldInitializeWithTraditionalAuth()
3637
3738 var options = new ContentstackOptions
3839 {
40+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
3941 ApiKey = "test_api_key" ,
4042 Host = "api.contentstack.io" ,
4143 IsOAuth = false ,
@@ -64,6 +66,7 @@ public void Constructor_ShouldSetSerializerOptions()
6466
6567 var options = new ContentstackOptions
6668 {
69+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
6770 ApiKey = "test_api_key" ,
6871 Host = "api.contentstack.io"
6972 } ;
@@ -84,6 +87,7 @@ public void Constructor_ShouldPreserveHostFormat(string inputHost)
8487
8588 var options = new ContentstackOptions
8689 {
90+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
8791 ApiKey = "test_api_key" ,
8892 Host = inputHost
8993 } ;
@@ -101,6 +105,7 @@ public void GetHeader_ShouldReturnLocalHeadersWhenMainHeadersIsNull()
101105
102106 var options = new ContentstackOptions
103107 {
108+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
104109 ApiKey = "test_api_key" ,
105110 Host = "api.contentstack.io"
106111 } ;
@@ -127,6 +132,7 @@ public void GetHeader_ShouldReturnMainHeadersWhenLocalHeadersIsNull()
127132
128133 var options = new ContentstackOptions
129134 {
135+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
130136 ApiKey = "test_api_key" ,
131137 Host = "api.contentstack.io"
132138 } ;
@@ -146,6 +152,7 @@ public void GetHeader_ShouldMergeLocalAndMainHeaders()
146152
147153 var options = new ContentstackOptions
148154 {
155+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
149156 ApiKey = "test_api_key" ,
150157 Host = "api.contentstack.io"
151158 } ;
@@ -171,6 +178,7 @@ public void GetHeader_ShouldPrioritizeLocalHeadersOverMainHeaders()
171178
172179 var options = new ContentstackOptions
173180 {
181+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
174182 ApiKey = "test_api_key" ,
175183 Host = "api.contentstack.io"
176184 } ;
@@ -194,6 +202,7 @@ public void GetHeader_ShouldHandleEmptyLocalHeaders()
194202
195203 var options = new ContentstackOptions
196204 {
205+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
197206 ApiKey = "test_api_key" ,
198207 Host = "api.contentstack.io"
199208 } ;
@@ -214,6 +223,7 @@ public void GetHeader_ShouldHandleNullValues()
214223
215224 var options = new ContentstackOptions
216225 {
226+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
217227 ApiKey = "test_api_key" ,
218228 Host = "api.contentstack.io"
219229 } ;
@@ -239,6 +249,7 @@ public void GetHeader_ShouldHandleSpecialCharacters()
239249
240250 var options = new ContentstackOptions
241251 {
252+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
242253 ApiKey = "test_api_key" ,
243254 Host = "api.contentstack.io"
244255 } ;
@@ -267,6 +278,7 @@ public void GetHeader_ShouldHandleCaseSensitiveKeys()
267278
268279 var options = new ContentstackOptions
269280 {
281+ // deepcode ignore NoHardcodedCredentials: test fixture value, not a real secret
270282 ApiKey = "test_api_key" ,
271283 Host = "api.contentstack.io"
272284 } ;
0 commit comments