Fix invalidated test for tend repository

This commit is contained in:
Edvard 2018-10-22 15:45:56 +02:00
parent 7ee3329baf
commit 6d9547a888

View File

@ -111,9 +111,6 @@ var _ = Describe("TendRepository", func() {
BeforeEach(func() { BeforeEach(func() {
headerId, err = headerRepository.CreateOrUpdateHeader(fakes.FakeHeader) headerId, err = headerRepository.CreateOrUpdateHeader(fakes.FakeHeader)
Expect(err).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())
err = tendRepository.Create(headerId, []interface{}{test_data.TendModel})
Expect(err).NotTo(HaveOccurred())
}) })
It("creates a row for a new headerID", func() { It("creates a row for a new headerID", func() {