summaryrefslogtreecommitdiff
path: root/web/src/App.test.jsx
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2018-09-21 03:15:01 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2018-12-14 05:36:21 +0000
commitc3ca0527773179411a8820a783edb9bff1074de0 (patch)
tree45cc9ee93ef3d1d6ce0fc702dfdde7eb7eaedcf3 /web/src/App.test.jsx
parente5da1e11491e429c6427c8f46f2c2db2bf620682 (diff)
downloadzuul-c3ca0527773179411a8820a783edb9bff1074de0.tar.gz
web: add projects page
This change adds a /projects web interface to list the projects. Change-Id: Ic0c539cfaa756b3cdf5c7f07da94ec6ffd202d55
Diffstat (limited to 'web/src/App.test.jsx')
-rw-r--r--web/src/App.test.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/App.test.jsx b/web/src/App.test.jsx
index 2b94e601d..de68c6a66 100644
--- a/web/src/App.test.jsx
+++ b/web/src/App.test.jsx
@@ -59,7 +59,7 @@ it('renders multi tenant', () => {
const topMenuLinks = ReactTestUtils.scryRenderedComponentsWithType(
application, Link)
expect(topMenuLinks[0].props.to).toEqual('/t/openstack/status')
- expect(topMenuLinks[1].props.to).toEqual('/t/openstack/jobs')
+ expect(topMenuLinks[1].props.to).toEqual('/t/openstack/projects')
// Location should be /tenants
expect(location.pathname).toEqual('/tenants')
// Info should tell multi tenants
@@ -91,7 +91,7 @@ it('renders single tenant', () => {
const topMenuLinks = ReactTestUtils.scryRenderedComponentsWithType(
application, Link)
expect(topMenuLinks[0].props.to).toEqual('/status')
- expect(topMenuLinks[1].props.to).toEqual('/jobs')
+ expect(topMenuLinks[1].props.to).toEqual('/projects')
// Location should be /status
expect(location.pathname).toEqual('/status')
// Info should tell white label tenant openstack