Skip to content

Commit 553c131

Browse files
adalpariclaude
andcommitted
Fix PluginWPApiRestClientTest matcher count for new headers param
Add missing any() matcher for the headers parameter added to syncGetRequest and syncPostRequest in WPAPIGsonRequestBuilder. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5e7098f commit 553c131

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/fluxc/src/test/java/org/wordpress/android/fluxc/network/rest/wpapi/plugin/PluginWPApiRestClientTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ class PluginWPApiRestClientTest {
186186
eq(type),
187187
eq(cachingEnabled),
188188
any(),
189+
any(),
189190
any()
190191
)
191192
).thenReturn(response)
@@ -203,6 +204,7 @@ class PluginWPApiRestClientTest {
203204
urlCaptor.capture(),
204205
bodyCaptor.capture(),
205206
eq(PluginResponseModel::class.java),
207+
any(),
206208
any()
207209
)
208210
).thenReturn(response)

0 commit comments

Comments
 (0)