summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-06-02 19:40:55 +0200
committerxengineering <me@xengineering.eu>2026-06-02 19:40:55 +0200
commitbd1ead99fd53ad8c3c016b59d67f5bf58ade5095 (patch)
treefcfe021f72a97c803dad6575c6ae177e1fc2e615
parent29ae857b5ca13fa12f1d07d4a30597ff9ce28767 (diff)
downloadfinserv-bd1ead99fd53ad8c3c016b59d67f5bf58ade5095.tar
finserv-bd1ead99fd53ad8c3c016b59d67f5bf58ade5095.tar.zst
finserv-bd1ead99fd53ad8c3c016b59d67f5bf58ade5095.zip
Remove success logging in tests
In case the test succeeds it is not required to log anything. This only adds noise to the output.
-rw-r--r--database_test.go1
-rw-r--r--testing.go4
2 files changed, 0 insertions, 5 deletions
diff --git a/database_test.go b/database_test.go
index 901db42..a9c818b 100644
--- a/database_test.go
+++ b/database_test.go
@@ -46,7 +46,6 @@ func TestMigrations(t *testing.T) {
for i := range migrations {
path := migrationPath(i)
- t.Logf("Test execution of %s", path)
err := Migrate(db, i)
if err != nil {
diff --git a/testing.go b/testing.go
index d4a8457..14da69f 100644
--- a/testing.go
+++ b/testing.go
@@ -18,10 +18,8 @@ func newSite(t *testing.T) string {
t.Cleanup(func() {
os.RemoveAll(site)
- t.Logf("Removed test site '%s'.", site)
})
- t.Logf("Created test site '%s'.", site)
return site
}
@@ -37,10 +35,8 @@ func emptyDB(t *testing.T) (*sql.DB, string) {
t.Cleanup(func() {
db.Close()
- t.Logf("Removed test database '%s'.", path)
})
- t.Logf("Created test database '%s'.", path)
return db, path
}