@@ -52,7 +52,12 @@ func TestSlack_FromChunk(t *testing.T) {
52
52
{
53
53
DetectorType : detectorspb .DetectorType_Slack ,
54
54
Verified : true ,
55
- ExtraData : map [string ]string {"rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" },
55
+ ExtraData : map [string ]string {
56
+ "name" : "marge.haskell.bridge" ,
57
+ "rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" ,
58
+ "team" : "ct.org" ,
59
+ "token_type" : "Slack User Token" ,
60
+ },
56
61
},
57
62
},
58
63
wantErr : false ,
@@ -68,7 +73,10 @@ func TestSlack_FromChunk(t *testing.T) {
68
73
{
69
74
DetectorType : detectorspb .DetectorType_Slack ,
70
75
Verified : false ,
71
- ExtraData : map [string ]string {"rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" },
76
+ ExtraData : map [string ]string {
77
+ "rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" ,
78
+ "token_type" : "Slack User Token" ,
79
+ },
72
80
},
73
81
},
74
82
wantErr : false ,
@@ -85,7 +93,10 @@ func TestSlack_FromChunk(t *testing.T) {
85
93
{
86
94
DetectorType : detectorspb .DetectorType_Slack ,
87
95
Verified : false ,
88
- ExtraData : map [string ]string {"rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" },
96
+ ExtraData : map [string ]string {
97
+ "rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" ,
98
+ "token_type" : "Slack User Token" ,
99
+ },
89
100
},
90
101
},
91
102
wantErr : false ,
@@ -103,7 +114,10 @@ func TestSlack_FromChunk(t *testing.T) {
103
114
{
104
115
DetectorType : detectorspb .DetectorType_Slack ,
105
116
Verified : false ,
106
- ExtraData : map [string ]string {"rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" },
117
+ ExtraData : map [string ]string {
118
+ "rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" ,
119
+ "token_type" : "Slack User Token" ,
120
+ },
107
121
},
108
122
},
109
123
wantErr : false ,
@@ -121,7 +135,10 @@ func TestSlack_FromChunk(t *testing.T) {
121
135
{
122
136
DetectorType : detectorspb .DetectorType_Slack ,
123
137
Verified : false ,
124
- ExtraData : map [string ]string {"rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" },
138
+ ExtraData : map [string ]string {
139
+ "rotation_guide" : "https://howtorotate.com/docs/tutorials/slack/" ,
140
+ "token_type" : "Slack User Token" ,
141
+ },
125
142
},
126
143
},
127
144
wantErr : false ,
0 commit comments