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
This commit is contained in:
Matt Rider 2019-07-01 08:22:46 -03:00
parent 51a7a0e5d8
commit 2edf99148d

View File

@ -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)
})