Skip to content

Commit

Permalink
TestProcessGDocsDoc: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Feb 12, 2025
1 parent ecd881f commit 6015d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestProcessGDocsDoc(t *testing.T) {
var doc docs.Document
testfile.ReadJSON(t, path+"/doc.json", &doc)
// Run twice to test the already uploaded path
for i := 0; i < 2; i++ {
for range 2 {
dbDoc, err := svc.Queries.CreateGDocsDoc(ctx, db.CreateGDocsDocParams{
ExternalID: fmt.Sprintf("abc123_%s", stringx.SlugifyURL(path)),
Document: doc,
Expand Down

0 comments on commit 6015d4e

Please sign in to comment.