Merge branch 'main' of https://github.com/steveyegge/beads
# Conflicts: # cmd/bd/duplicates_test.go
This commit is contained in:
@@ -2,6 +2,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/steveyegge/beads/internal/types"
|
"github.com/steveyegge/beads/internal/types"
|
||||||
|
|||||||
@@ -16,11 +16,6 @@ func TestEpicCommand(t *testing.T) {
|
|||||||
sqliteStore := newTestStore(t, testDB)
|
sqliteStore := newTestStore(t, testDB)
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
// Set issue_prefix
|
|
||||||
if err := sqliteStore.SetConfig(ctx, "issue_prefix", "test"); err != nil {
|
|
||||||
t.Fatalf("Failed to set issue_prefix: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create an epic with children
|
// Create an epic with children
|
||||||
epic := &types.Issue{
|
epic := &types.Issue{
|
||||||
ID: "test-epic-1",
|
ID: "test-epic-1",
|
||||||
@@ -138,11 +133,6 @@ func TestEpicEligibleForClose(t *testing.T) {
|
|||||||
sqliteStore := newTestStore(t, testDB)
|
sqliteStore := newTestStore(t, testDB)
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
// Set issue_prefix
|
|
||||||
if err := sqliteStore.SetConfig(ctx, "issue_prefix", "test"); err != nil {
|
|
||||||
t.Fatalf("Failed to set issue_prefix: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create an epic where all children are closed
|
// Create an epic where all children are closed
|
||||||
epic := &types.Issue{
|
epic := &types.Issue{
|
||||||
ID: "test-epic-2",
|
ID: "test-epic-2",
|
||||||
|
|||||||
Reference in New Issue
Block a user