Skip to content

Commit

Permalink
chore(ci): fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnatarHe committed Mar 11, 2024
1 parent ff8c667 commit 7039400
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schema/call_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import (
"time"

"github.com/PromptPal/PromptPal/config"
"github.com/PromptPal/PromptPal/ent/project"
"github.com/PromptPal/PromptPal/ent/prompt"
"github.com/PromptPal/PromptPal/ent/promptcall"
"github.com/PromptPal/PromptPal/ent/schema"
dbSchema "github.com/PromptPal/PromptPal/ent/schema"
"github.com/PromptPal/PromptPal/routes"
Expand Down Expand Up @@ -295,6 +297,8 @@ func (s *callTestSuite) TestPerformCall() {
}

func (s *callTestSuite) TearDownSuite() {
service.EntClient.PromptCall.Delete().Where(promptcall.HasProjectWith(project.ID(s.pjID))).ExecX(context.Background())
service.EntClient.Prompt.DeleteOneID(s.promptID).ExecX(context.Background())
service.EntClient.Project.DeleteOneID(s.pjID).ExecX(context.Background())
service.Close()
}
Expand Down

0 comments on commit 7039400

Please sign in to comment.