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

strongloop / loopback / 5620
88%
master: 90%

Build:
Build:
LAST BUILD BRANCH: chore/update-lts
DEFAULT BRANCH: master
Ran 04 Apr 2017 05:06PM UTC
Jobs 4
Files 35
Run time 10min
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
5620

push

travis-ci

bajtos
Fix user-literal rewrite for anonymous requests

Currently any `currentUserLiteral` routes when accessed with a bad
token throw a 500 due to a SQL error that is raised because
`Model.findById` is invoked with `id={currentUserLiteral}`
(`id=me` in our case) when the url rewrite fails.

This commit changes the token middleware to return 401 Not Authorized
when the client is requesting a currentUserLiteral route without
a valid access token.

1556 of 2015 branches covered (77.22%)

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

2936 of 3347 relevant lines covered (87.72%)

6835.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5620.1 04 Apr 2017 05:06PM UTC 0
87.72
Travis Job 5620.1
2 5620.2 04 Apr 2017 05:06PM UTC 0
87.72
Travis Job 5620.2
3 5620.3 04 Apr 2017 05:06PM UTC 0
87.72
Travis Job 5620.3
4 5620.4 04 Apr 2017 05:17PM UTC 0
87.72
Travis Job 5620.4
Source Files on build 5620
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5620
  • 50e0e480 on github
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

© 2026 Coveralls, Inc