• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

strongloop / loopback / 6263
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: chore/update-lts
DEFAULT BRANCH: master
Ran 29 Jun 2018 02:24PM UTC
Jobs 3
Files 38
Run time 19min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6263

Pull #3934

travis-ci

web-flow
Fix crash in verifyUserRelations

In the present implementation `verifyUserRelations(Model)` assumes that
`Model.relations.accessTokens` is always set, and as a result may
crash when trying to access `polymorphic` property of that relation.

It seems the intention is to check whether the the following conditions
are met:
 1. a model has a hasMany accessTokens relation
 2. that relation is polymorphic

This commit fixes the problem by accounting for the case where the
accessTokens relation was not correctly set up.
Pull Request #3934: fix: resolve customAccessToken warning error that causes app to crash

1829 of 2275 branches covered (80.4%)

3 of 3 new or added lines in 1 file covered. (100.0%)

3309 of 3670 relevant lines covered (90.16%)

10189.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6263.1 29 Jun 2018 02:44PM UTC 0
90.24
Travis Job 6263.1
2 6263.2 29 Jun 2018 02:24PM UTC 0
90.24
Travis Job 6263.2
3 6263.3 29 Jun 2018 02:24PM UTC 0
90.24
Travis Job 6263.3
Source Files on build 6263
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6263
  • Pull Request #3934
  • PR Base - master (#6257)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc