photoprism/internal/server/process/pid_test.go
Michael Mayer ae5f35259c Server: Move process handling and shutdown to separate package #4767
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-04 19:05:26 +01:00

14 lines
193 B
Go

package process
import (
"os"
"testing"
"github.com/stretchr/testify/assert"
)
func TestID(t *testing.T) {
t.Run("Matches", func(t *testing.T) {
assert.Equal(t, os.Getpid(), ID)
})
}