()
| 790 | } |
| 791 | |
| 792 | func (s *AdapterTests) TestSchemaCollection() { |
| 793 | sess := s.Session() |
| 794 | |
| 795 | col := sess.Collection("test_schema.test") |
| 796 | _, err := col.Insert(map[string]int{"id": 9}) |
| 797 | s.Equal(nil, err) |
| 798 | |
| 799 | var dump []map[string]int |
| 800 | err = col.Find().All(&dump) |
| 801 | s.Nil(err) |
| 802 | s.Equal(1, len(dump)) |
| 803 | s.Equal(9, dump[0]["id"]) |
| 804 | } |
| 805 | |
| 806 | func (s *AdapterTests) Test_Issue340_MaxOpenConns() { |
| 807 | sess := s.Session() |
nothing calls this directly
no test coverage detected