From a33cb1e6fcd7249de50b1943a8a2d953ca574eda Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Fri, 20 Dec 2019 01:14:43 +0100 Subject: [PATCH] Make tests accurate --- webapp/components/ContributionForm/ContributionForm.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/components/ContributionForm/ContributionForm.spec.js b/webapp/components/ContributionForm/ContributionForm.spec.js index 2f0f2e30d..a52169bd1 100644 --- a/webapp/components/ContributionForm/ContributionForm.spec.js +++ b/webapp/components/ContributionForm/ContributionForm.spec.js @@ -308,6 +308,7 @@ describe('ContributionForm.vue', () => { name: 'Democracy & Politics', }, ], + imageAspectRatio: 1, }, } wrapper = Wrapper() @@ -354,7 +355,7 @@ describe('ContributionForm.vue', () => { categoryIds: ['cat12'], image, imageUpload: null, - imageAspectRatio: null, + imageAspectRatio: 1, }, } })