From 2edf99148da5b6e7fd1ab2e3cf1eb1f43f8b54e9 Mon Sep 17 00:00:00 2001 From: Matt Rider Date: Mon, 1 Jul 2019 08:22:46 -0300 Subject: [PATCH] Remove test - we don't set the form language because we want to have the name of the language as a placeholder, not its code --- webapp/components/ContributionForm/ContributionForm.spec.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/webapp/components/ContributionForm/ContributionForm.spec.js b/webapp/components/ContributionForm/ContributionForm.spec.js index 5fafdf17f..caeeafdf6 100644 --- a/webapp/components/ContributionForm/ContributionForm.spec.js +++ b/webapp/components/ContributionForm/ContributionForm.spec.js @@ -144,10 +144,6 @@ describe('ContributionForm.vue', () => { expect(mocks.$apollo.mutate).toHaveBeenCalledWith(expect.objectContaining(expectedParams)) }) - it('sets language equal to contribution language', () => { - expect(wrapper.vm.form.language).toEqual({ value: propsData.contribution.language }) - }) - it("pushes the user to the post's page", async () => { expect(mocks.$router.push).toHaveBeenCalledTimes(1) })