Skip to content

Commit 14db100

Browse files
committed
Fix TestStoreSubjectStateConsistency for v2.10
Signed-off-by: Waldemar Quevedo <[email protected]>
1 parent b94eaa3 commit 14db100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/store_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func TestStoreSubjectStateConsistency(t *testing.T) {
168168

169169
// Publish an initial batch of messages.
170170
for i := 0; i < 4; i++ {
171-
_, _, err := fs.StoreMsg("foo", nil, nil, 0)
171+
_, _, err := fs.StoreMsg("foo", nil, nil)
172172
require_NoError(t, err)
173173
}
174174

@@ -221,7 +221,7 @@ func TestStoreSubjectStateConsistency(t *testing.T) {
221221

222222
// Publish some more messages so we can test another scenario.
223223
for i := 0; i < 3; i++ {
224-
_, _, err := fs.StoreMsg("foo", nil, nil, 0)
224+
_, _, err := fs.StoreMsg("foo", nil, nil)
225225
require_NoError(t, err)
226226
}
227227

0 commit comments

Comments
 (0)