chore: establish local platform baseline
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package saas
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestConsentWithdrawalConversationImpact(t *testing.T) {
|
||||
for _, consentType := range []string{
|
||||
ConsentTranscriptStorage,
|
||||
ConsentRawAudioStorage,
|
||||
ConsentStoryExtraction,
|
||||
ConsentPersonalMemory,
|
||||
} {
|
||||
if !consentWithdrawalStopsConversation(consentType) {
|
||||
t.Fatalf("live conversation consent %q did not trigger a stop", consentType)
|
||||
}
|
||||
}
|
||||
if consentWithdrawalStopsConversation(ConsentFamilySharing) {
|
||||
t.Fatal("family sharing withdrawal should not interrupt live audio")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user