From 230f2a4c4a87153c7e642c5299f33da8ffbde7cf Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Tue, 10 Sep 2019 20:43:08 +0200 Subject: [PATCH] Minor beauty fixes --- tests/system/application_test.go | 2 +- tests/system/organisation_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system/application_test.go b/tests/system/application_test.go index b0c68f143..9fa97c9d1 100644 --- a/tests/system/application_test.go +++ b/tests/system/application_test.go @@ -109,7 +109,7 @@ func TestApplicationUpdate(t *testing.T) { a, err := h.repoApplication().FindByID(a.ID) h.a.NoError(err) h.a.NotNil(a) - h.a.Equal(a.Name, "changed-name") + h.a.Equal("changed-name", a.Name) } func TestApplicationDeleteForbidden(t *testing.T) { diff --git a/tests/system/organisation_test.go b/tests/system/organisation_test.go index 4bf5f6e12..7811535a7 100644 --- a/tests/system/organisation_test.go +++ b/tests/system/organisation_test.go @@ -121,7 +121,7 @@ func TestOrganisationUpdate(t *testing.T) { a, err := h.repoOrganisation().FindByID(a.ID) h.a.NoError(err) h.a.NotNil(a) - h.a.Equal(a.Name, "changed-name") + h.a.Equal("changed-name", a.Name) } func TestOrganisationDeleteForbidden(t *testing.T) {