Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Oct 26, 2024
1 parent 7e59ed8 commit 9cdfbe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestCreatePost(t *testing.T) {
db.AutoMigrate(&auth.BlogUser{})
db.AutoMigrate(&blog.Post{})
a := &Auth{}
sch := scholar.New()
sch := scholar.New("profiles.json", "articles.json")
b := blog.New(db, a, "test", sch)
ad := admin.New(db, a, b, "test")

Expand Down
2 changes: 1 addition & 1 deletion blog/blog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestBlogWorkflow(t *testing.T) {
db.AutoMigrate(&blog.Post{})
db.AutoMigrate(&blog.Tag{})
a := &Auth{}
sch := scholar.New()
sch := scholar.New("profiles.json", "articles.json")
b := blog.New(db, a, "test", sch)
admin := admin.New(db, a, b, "test")

Expand Down

0 comments on commit 9cdfbe7

Please sign in to comment.