Add application workflow and lead analytics
Test and publish / test (push) Successful in 2m33s
Test and publish / publish (push) Successful in 11m9s

This commit is contained in:
2026-10-23 20:45:48 +01:00
parent d0074aea46
commit 1147bc5697
35 changed files with 4337 additions and 131 deletions
@@ -0,0 +1,19 @@
package services
import (
"errors"
"testing"
"gorm.io/gorm"
)
func TestRecordApplicationEventRequiresKind(t *testing.T) {
_, err := RecordApplicationEvent(&gorm.DB{}, 42, ApplicationEventInput{})
var inputErr *JobInputError
if !errors.As(err, &inputErr) {
t.Fatalf("error = %v, want JobInputError", err)
}
if inputErr.Error() != "event kind is required" {
t.Fatalf("error = %q", inputErr)
}
}