DEV-000069 allow delegation continuation response outcomes
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package delegatedcontinuity
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestAttentionResponseProjectionAllowsDelegationContinuationOutcomes(t *testing.T) {
|
||||
path := filepath.Join("..", "..", "database", "migrations", "026_continuity_attention_response_outcomes.sql")
|
||||
content, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
t.Fatalf("read migration: %v", err)
|
||||
}
|
||||
sql := string(content)
|
||||
for _, want := range []string{
|
||||
"attention_items_response_projection_check",
|
||||
"'CONTINUED'",
|
||||
"'REJECTED'",
|
||||
"'CLARIFICATION_NEEDED'",
|
||||
} {
|
||||
if !strings.Contains(sql, want) {
|
||||
t.Fatalf("migration %s must contain %s", path, want)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user