(id uint, token string, internal bool)
| 102 | } |
| 103 | |
| 104 | func (ab *AppClientBuilder) newAppWithToken(id uint, token string, internal bool) *model.Application { |
| 105 | application := &model.Application{ID: id, UserID: ab.userID, Token: token, Internal: internal} |
| 106 | ab.db.CreateApplication(application) |
| 107 | return application |
| 108 | } |
| 109 | |
| 110 | // AppWithTokenAndName creates an application with a token and name and returns a message builder. |
| 111 | func (ab *AppClientBuilder) AppWithTokenAndName(id uint, token, name string) *MessageBuilder { |
no test coverage detected