A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go

fix unit tests

evan.jarrett.net 5a41f876 d4b9d84d

verified
+3 -26
+1 -1
pkg/appview/db/models.go
··· 70 70 IconURL string 71 71 StarCount int 72 72 PullCount int 73 - IsStarred bool // Whether the current user has starred this repository 73 + IsStarred bool // Whether the current user has starred this repository 74 74 CreatedAt time.Time 75 75 HoldEndpoint string // Hold endpoint for health checking 76 76 Reachable bool // Whether the hold endpoint is reachable
-12
pkg/appview/jetstream/backfill_test.go
··· 1 - package jetstream 2 - 3 - import "testing" 4 - 5 - func TestBackfillWorker_Struct(t *testing.T) { 6 - backfiller := &BackfillWorker{} 7 - if backfiller == nil { 8 - t.Error("Expected non-nil backfiller") 9 - } 10 - } 11 - 12 - // TODO: Add backfill tests with mocked ATProto client
-13
pkg/appview/jetstream/worker_test.go
··· 1 - package jetstream 2 - 3 - import "testing" 4 - 5 - func TestWorker_Struct(t *testing.T) { 6 - // Simple struct test 7 - worker := &Worker{} 8 - if worker == nil { 9 - t.Error("Expected non-nil worker") 10 - } 11 - } 12 - 13 - // TODO: Add WebSocket connection tests with mock server
+2
pkg/appview/ui_test.go
··· 562 562 Description string 563 563 StarCount int 564 564 PullCount int 565 + IsStarred bool 565 566 }{ 566 567 OwnerHandle: "alice.bsky.social", 567 568 Repository: "myapp", ··· 569 570 Description: "A cool container image", 570 571 StarCount: 42, 571 572 PullCount: 1337, 573 + IsStarred: true, 572 574 } 573 575 574 576 buf := new(bytes.Buffer)