this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cleanup test files

+2 -5
testing/feedpost_record.cbor testing/test_files/feedpost_record.cbor
+1 -5
testing/feedpost_test.go
··· 17 17 ) 18 18 19 19 func TestFeedPostParse(t *testing.T) { 20 - //t.Skip("XXX: currently failing") 21 20 assert := assert.New(t) 22 21 23 - // CBOR file hex (for https://geraintluff.github.io/cbor-debug/): 24 - // A46474657874782157686F207468652068656C6C20646F20796F75207468696E6B20796F7520617265652474797065726170702E62736B792E666565642E706F737465656D626564A3652474797065781E6170702E62736B792E656D6265642E7265636F7264576974684D65646961656D65646961A2652474797065756170702E62736B792E656D6265642E696D6167657366696D6167657381A263616C746065696D616765A463726566D82A58250155122090873DBDFF81882487CCF6127D8D62F241D6F4F919A73151DABA378580C0806473697A651A0B777165247479706564626C6F62686D696D65547970656A696D6167652F6A706567667265636F7264A2652474797065756170702E62736B792E656D6265642E7265636F7264667265636F7264A263636964783B62616679726569616B75377564656B6B69696A786375756533736E3665737A3771696A716A3633377269677A34787164773537666B35686F756A6963757269784661743A2F2F6469643A706C633A7262747572793463703273646B3474766E656461717535342F6170702E62736B792E666565642E706F73742F336A696C69736C686F3473326B696372656174656441747818323032332D30332D32395432303A35393A31392E3431375A 25 - 26 22 // this is a post-lex-refactor app.bsky.feed.post record 27 - inFile, err := os.Open("feedpost_record.cbor") 23 + inFile, err := os.Open("test_files/feedpost_record.cbor") 28 24 assert.NoError(err) 29 25 cborBytes, err := io.ReadAll(inFile) 30 26 assert.NoError(err)
testing/repo_slice_record.json testing/test_files/repo_slice_record.json
+1
testing/test_files/did_plc_z5vnbioquyhivxirw3bbljmu.didDoc.json
··· 1 + {"@context":["https://www.w3.org/ns/did/v1","https://w3id.org/security/suites/secp256k1-2019/v1"],"id":"did:plc:z5vnbioquyhivxirw3bbljmu","alsoKnownAs":["at://koch5149-c5.test"],"verificationMethod":[{"id":"#atproto","type":"EcdsaSecp256k1VerificationKey2019","controller":"did:plc:z5vnbioquyhivxirw3bbljmu","publicKeyMultibase":"zPgFC4hKo2MFLkBRQuHewXRDp94MSrd3yuiJ1En87qTeF68T92DPWvWSjxjMuMiB4qz8UzE8wWTNvZq7mgr7BsjW9"}],"service":[{"id":"#atproto_pds","type":"AtprotoPersonalDataServer","serviceEndpoint":"http://localhost:2583"}]}