MCPcopy Create free account
hub / github.com/buggregator/server / makeEvent

Function makeEvent

internal/storage/sqlite_test.go:30–38  ·  view source on GitHub ↗
(uuid, typ, project string)

Source from the content-addressed store, hash-verified

28}
29
30func makeEvent(uuid, typ, project string) event.Event {
31 return event.Event{
32 UUID: uuid,
33 Type: typ,
34 Payload: json.RawMessage(`{"test":true}`),
35 Timestamp: 1700000000.123456,
36 Project: project,
37 }
38}
39
40func TestSQLiteStore_Store_and_FindByUUID(t *testing.T) {
41 db := setupTestDB(t)

Callers 5

TestMatchesFilterFunction · 0.85
TestSQLiteStore_DeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected