capp config type has changed

Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
This commit is contained in:
Mert Can Bilgiç
2021-02-25 17:54:55 +03:00
parent fc470a310e
commit 54e711826f
4 changed files with 31 additions and 26 deletions
@@ -73,8 +73,10 @@ beforeEach(() => {
publisher: {
type: 'openStackSwift',
openStackSwift: {
username: 'mockuser',
password: 'verystrongpass',
credentials: {
username: 'mockuser',
password: 'verystrongpass',
},
authUrl: 'mockauthurl',
region: 'mockregion',
containerName: 'mock',
@@ -116,7 +118,7 @@ describe('OpenStackSwiftPublish', () => {
entity,
directory: entityRootDir,
}),
).toBeUndefined()
).toBeUndefined();
});
it('should fail to publish a directory', async () => {
@@ -170,8 +170,10 @@ describe('Publisher', () => {
publisher: {
type: 'openStackSwift',
openStackSwift: {
username: 'mockuser',
password: 'verystrongpass',
credentials: {
username: 'mockuser',
password: 'verystrongpass',
},
authUrl: 'mockauthurl',
region: 'mockregion',
containerName: 'mock',