(id uint, token, name string, internal bool)
| 133 | } |
| 134 | |
| 135 | func (ab *AppClientBuilder) newAppWithTokenAndName(id uint, token, name string, internal bool) *model.Application { |
| 136 | application := &model.Application{ID: id, UserID: ab.userID, Token: token, Name: name, Internal: internal} |
| 137 | ab.db.CreateApplication(application) |
| 138 | return application |
| 139 | } |
| 140 | |
| 141 | // AppWithTokenAndDefaultPriority creates an application with a token and defaultPriority and returns a message builder. |
| 142 | func (ab *AppClientBuilder) AppWithTokenAndDefaultPriority(id uint, token string, defaultPriority int) *MessageBuilder { |
no test coverage detected