GetSessionFromTestingDB construct a proto message Session representing the testing database configuration.
()
| 171 | // GetSessionFromTestingDB construct a proto message Session |
| 172 | // representing the testing database configuration. |
| 173 | func GetSessionFromTestingDB() *proto.Session { |
| 174 | db := GetTestingDBSingleton() |
| 175 | return &proto.Session{ |
| 176 | DbConnStr: db.URL()} |
| 177 | } |