home_test.go 236 B

12345678910111213141516
  1. package view
  2. import (
  3. "testing"
  4. )
  5. func Test_homeItems(t *testing.T) {
  6. _db := initDB()
  7. err, selectedItems := SelectHomeItems(_db, 10000)
  8. if err != nil {
  9. t.Error("NO Selected column")
  10. }
  11. t.Logf("tokens : %+v", selectedItems)
  12. }