MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / TestPostChangesSinceInteger

Function TestPostChangesSinceInteger

rest/changestest/changes_api_test.go:293–305  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

291}
292
293func TestPostChangesSinceInteger(t *testing.T) {
294
295 base.SetUpTestLogging(t, base.LevelInfo, base.KeyAll)
296
297 rt := rest.NewRestTester(t,
298 &rest.RestTesterConfig{
299 SyncFn: `function(doc) {channel(doc.channel);}`,
300 DatabaseConfig: &rest.DatabaseConfig{}, // force use of default scope and collection
301 })
302 defer rt.Close()
303
304 postChangesSince(t, rt)
305}
306
307func TestPostChangesWithQueryString(t *testing.T) {
308 rt := rest.NewRestTester(t,

Callers

nothing calls this directly

Calls 4

CloseMethod · 0.95
SetUpTestLoggingFunction · 0.92
NewRestTesterFunction · 0.92
postChangesSinceFunction · 0.85

Tested by

no test coverage detected