cleaned up models and added more tests #21
83.09% of diff hit (target 54.04%)
View this Pull Request on Codecov
83.09% of diff hit (target 54.04%)
Annotations
Check warning on line 214 in handlers/mock_PersonalAccessTokenService.go
codecov / codecov/patch
handlers/mock_PersonalAccessTokenService.go#L214
Added line #L214 was not covered by tests
Check warning on line 217 in handlers/mock_PersonalAccessTokenService.go
codecov / codecov/patch
handlers/mock_PersonalAccessTokenService.go#L217
Added line #L217 was not covered by tests
Check warning on line 225 in handlers/mock_PersonalAccessTokenService.go
codecov / codecov/patch
handlers/mock_PersonalAccessTokenService.go#L225
Added line #L225 was not covered by tests
Check warning on line 246 in handlers/mock_PersonalAccessTokenService.go
codecov / codecov/patch
handlers/mock_PersonalAccessTokenService.go#L246
Added line #L246 was not covered by tests
Check warning on line 248 in handlers/mock_PersonalAccessTokenService.go
codecov / codecov/patch
handlers/mock_PersonalAccessTokenService.go#L248
Added line #L248 was not covered by tests
Check warning on line 258 in handlers/mock_PersonalAccessTokenService.go
codecov / codecov/patch
handlers/mock_PersonalAccessTokenService.go#L258
Added line #L258 was not covered by tests
Check warning on line 42 in models/personal_access_token.go
codecov / codecov/patch
models/personal_access_token.go#L42
Added line #L42 was not covered by tests
Check warning on line 53 in models/personal_access_token.go
codecov / codecov/patch
models/personal_access_token.go#L52-L53
Added lines #L52 - L53 were not covered by tests
Check warning on line 94 in models/personal_access_token.go
codecov / codecov/patch
models/personal_access_token.go#L93-L94
Added lines #L93 - L94 were not covered by tests
Check warning on line 167 in models/user.go
codecov / codecov/patch
models/user.go#L167
Added line #L167 was not covered by tests
Check warning on line 470 in models/user.go
codecov / codecov/patch
models/user.go#L465-L470
Added lines #L465 - L470 were not covered by tests