mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
14 lines
247 B
Go
14 lines
247 B
Go
//go:build release
|
|
|
|
package licensing
|
|
|
|
import "testing"
|
|
|
|
func TestReleaseBuildIgnoresMockModeForCommercialStartup(t *testing.T) {
|
|
t.Setenv("PULSE_MOCK_MODE", "true")
|
|
|
|
if IsDemoMode() {
|
|
t.Fatal("release build must ignore PULSE_MOCK_MODE")
|
|
}
|
|
}
|