()
| 63 | } |
| 64 | |
| 65 | func randomEncryptionKey() string { |
| 66 | b := make([]byte, 16) |
| 67 | _, err := rand.Read(b) |
| 68 | if err != nil { |
| 69 | return uuid.New().String() |
| 70 | } |
| 71 | |
| 72 | return fmt.Sprintf("%x", b) |
| 73 | } |
| 74 | |
| 75 | func setupPhone(ctx context.Context, t *testing.T, messagesPerMinute uint) testPhone { |
| 76 | t.Helper() |
no test coverage detected