package models import "testing" func TestScrapeHistory_TableName(t *testing.T) { scrapeHistory := ScrapeHistory{} expectedTableName := "ScrapeHistory" if tableName := scrapeHistory.TableName(); tableName != expectedTableName { t.Fatalf("expected %s, but got %s", expectedTableName, tableName) } }