@@ -587,7 +587,7 @@ func (suite *NotificationTestSuite) TestSecureTokenParsing() {
587587
588588func (suite * NotificationTestSuite ) TestSecureTokenParsingIntegration () {
589589 // Test that secure token parsing works end-to-end with actual notification flow
590-
590+
591591 // Test with secure token format
592592 req := httptest .NewRequest ("GET" , "/notifications/event-stream" , nil )
593593 req .Header .Set (middleware .OptlySDKHeader , "test_sdk_key:test_api_key" )
@@ -597,19 +597,19 @@ func (suite *NotificationTestSuite) TestSecureTokenParsingIntegration() {
597597 mockReceiver := func (ctx context.Context ) (<- chan syncer.Event , error ) {
598598 sdkKey := ctx .Value (SDKKey ).(string )
599599 suite .Equal ("test_sdk_key" , sdkKey , "SDK key should be extracted from secure token format" )
600-
600+
601601 dataChan := make (chan syncer.Event , 1 )
602602 // Send a test event
603603 dataChan <- syncer.Event {
604- Type : notification .Decision ,
604+ Type : notification .Decision ,
605605 Message : map [string ]string {"test" : "event" },
606606 }
607607 close (dataChan )
608608 return dataChan , nil
609609 }
610610
611611 suite .mux .Get ("/test-secure-notifications" , NotificationEventStreamHandler (mockReceiver ))
612-
612+
613613 // Create cancelable context for SSE
614614 ctx , cancel := context .WithTimeout (req .Context (), 1 * time .Second )
615615 defer cancel ()
0 commit comments