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

kiwitcms / tenants / 784
86%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2021 09:55AM UTC
Jobs 1
Files 19
Run time 2s
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
784

push

travis-ci-com

atodorov
More robust tenant domain detection

This is used on the login page to construct the URLs for social login
buttons. Usually important only for 'public' schema.

In the case where public tenant's domain doesn't use a prefix (e.g. matches
KIWI_TENANT_DOMAIN) the previous behavior was leading to incorrect
results by always adding the "public." prefix!

With this change the actual domain from the DB will be returned.

When creating new tenants this function is used to automaticaly assign a
domain name to them, which is always going to use the prefix format b/c
there's no existing Tenant or Domain in the DB.

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

341 of 396 relevant lines covered (86.11%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 784.1 18 Jun 2021 09:55AM UTC 0
86.11
Travis Job 784.1
Source Files on build 784
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #784
  • 4adcbaf0 on github
  • Prev Build on master (#779)
  • Next Build on master (#786)
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