Test: Use PascalCase names for all Go subtests in /internal

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-10-02 14:50:02 +02:00
parent c68493da8a
commit 94b6631b3d
239 changed files with 1909 additions and 1909 deletions

View File

@@ -20,7 +20,7 @@ func TestNewFileSync(t *testing.T) {
}
func TestFirstOrCreateFileSync(t *testing.T) {
t.Run("not yet existing", func(t *testing.T) {
t.Run("NotYetExisting", func(t *testing.T) {
fileSync := &FileSync{ServiceID: 123, FileID: 888, RemoteName: "test123"}
result := FirstOrCreateFileSync(fileSync)
@@ -36,7 +36,7 @@ func TestFirstOrCreateFileSync(t *testing.T) {
t.Errorf("ServiceID should be the same: %d %d", result.ServiceID, fileSync.ServiceID)
}
})
t.Run("existing", func(t *testing.T) {
t.Run("Existing", func(t *testing.T) {
fileSync := NewFileSync(778, "NameForRemote")
result := FirstOrCreateFileSync(fileSync)