Skip to content

Commit 48d54a5

Browse files
committed
Fix testing
1 parent 5b83d5c commit 48d54a5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

wrongsecrets-balancer/src/kubernetes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ const createK8sChallenge53DeploymentForTeam = async ({ team, passcodeHash }) =>
422422
},
423423
containers: [
424424
{
425-
image: 'jeroenwillemsen/wrongsecrets-challenge53:1.12.0',
425+
image: `jeroenwillemsen/wrongsecrets-challenge53:${wrongSecretsDekstopTag}`,
426426
name: 'secret-challenge-53',
427427
imagePullPolicy: 'IfNotPresent',
428428
resources: {

wrongsecrets-balancer/src/teams/teams.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const {
2121
createRoleForWebTop,
2222
createRoleBindingForWebtop,
2323
createNSPsforTeam,
24+
createK8sChallenge53DeploymentForTeam,
2425
} = require('../kubernetes');
2526

2627
afterEach(() => {
@@ -158,6 +159,7 @@ test('create team creates a instance for team via k8s service', async () => {
158159
expect(createConfigmapForTeam).toHaveBeenCalled();
159160
expect(createSecretsfileForTeam).toHaveBeenCalled();
160161
expect(createChallenge33SecretForTeam).toHaveBeenCalled();
162+
expect(createK8sChallenge53DeploymentForTeam).toHaveBeenCalled();
161163
expect(createNameSpaceForTeam).toHaveBeenCalled();
162164
expect(createK8sDeploymentForTeam).toHaveBeenCalled();
163165
expect(createDesktopDeploymentForTeam).toHaveBeenCalled();

0 commit comments

Comments
 (0)