()
| 92 | } |
| 93 | |
| 94 | func init() { |
| 95 | ownerRef = indextest.PubKey |
| 96 | owner = index.NewOwner(indextest.KeyID, ownerRef.BlobRef()) |
| 97 | signer = testSigner() |
| 98 | for _, v := range testBlobsContents { |
| 99 | testBlobs[v] = &test.Blob{Contents: v} |
| 100 | } |
| 101 | perma123 := schema.NewPlannedPermanode("perma-123") |
| 102 | perma123signed, err := perma123.SignAt(ctxbg, signer, test.ClockOrigin) |
| 103 | if err != nil { |
| 104 | panic(err) |
| 105 | } |
| 106 | testBlobs["perma-123"] = &test.Blob{Contents: perma123signed} |
| 107 | handlerTests = initTests() |
| 108 | } |
| 109 | |
| 110 | var ( |
| 111 | testBlobsContents = []string{ |
nothing calls this directly
no test coverage detected