Commit a821d83b authored by Jacques Erasmus's avatar Jacques Erasmus

Update environments default branch name

Updated the branch name from master to main
parent 0c171090
...@@ -9,8 +9,8 @@ export const environment = { ...@@ -9,8 +9,8 @@ export const environment = {
iid: 6, iid: 6,
sha: '500aabcb17c97bdcf2d0c410b70cb8556f0362dd', sha: '500aabcb17c97bdcf2d0c410b70cb8556f0362dd',
ref: { ref: {
name: 'master', name: 'main',
ref_url: 'root/ci-folders/tree/master', ref_url: 'root/ci-folders/tree/main',
}, },
tag: true, tag: true,
'last?': true, 'last?': true,
......
...@@ -359,7 +359,7 @@ describe('Environment table', () => { ...@@ -359,7 +359,7 @@ describe('Environment table', () => {
}, },
}, },
{ {
name: 'review/master', name: 'review/main',
last_deployment: { last_deployment: {
created_at: '2019-02-17T16:26:15.125Z', created_at: '2019-02-17T16:26:15.125Z',
}, },
...@@ -374,7 +374,7 @@ describe('Environment table', () => { ...@@ -374,7 +374,7 @@ describe('Environment table', () => {
}, },
]; ];
const [production, review, staging] = mockItems; const [production, review, staging] = mockItems;
const [addcibuildstatus, master] = mockItems[1].children; const [addcibuildstatus, main] = mockItems[1].children;
factory({ factory({
propsData: { propsData: {
...@@ -390,7 +390,7 @@ describe('Environment table', () => { ...@@ -390,7 +390,7 @@ describe('Environment table', () => {
production.name, production.name,
]); ]);
expect(wrapper.vm.sortedEnvironments[0].children).toEqual([master, addcibuildstatus]); expect(wrapper.vm.sortedEnvironments[0].children).toEqual([main, addcibuildstatus]);
}); });
}); });
}); });
...@@ -76,8 +76,8 @@ const environment = { ...@@ -76,8 +76,8 @@ const environment = {
iid: 6, iid: 6,
sha: '500aabcb17c97bdcf2d0c410b70cb8556f0362dd', sha: '500aabcb17c97bdcf2d0c410b70cb8556f0362dd',
ref: { ref: {
name: 'master', name: 'main',
ref_url: 'root/ci-folders/tree/master', ref_url: 'root/ci-folders/tree/main',
}, },
tag: true, tag: true,
'last?': true, 'last?': true,
...@@ -130,8 +130,8 @@ const environment = { ...@@ -130,8 +130,8 @@ const environment = {
iid: 27, iid: 27,
sha: '1132df044b73943943c949e7ac2c2f120a89bf59', sha: '1132df044b73943943c949e7ac2c2f120a89bf59',
ref: { ref: {
name: 'master', name: 'main',
ref_path: '/root/environment-test/-/tree/master', ref_path: '/root/environment-test/-/tree/main',
}, },
status: 'running', status: 'running',
created_at: '2020-12-04T19:57:49.514Z', created_at: '2020-12-04T19:57:49.514Z',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment