@@ -30,7 +30,7 @@ type httpFixture struct {
30
30
assert func (interface {}, error )
31
31
}
32
32
33
- func successfulPostWithHeadersInvocationFixture () httpFixture {
33
+ func httpSuccessfulPostWithHeadersInvocationFixture () httpFixture {
34
34
port , err := freeport .GetFreePort ()
35
35
So (err , ShouldBeNil )
36
36
@@ -89,7 +89,7 @@ func successfulPostWithHeadersInvocationFixture() httpFixture {
89
89
}
90
90
}
91
91
92
- func timeoutInvocationFixture () httpFixture {
92
+ func httpTimeoutInvocationFixture () httpFixture {
93
93
port , err := freeport .GetFreePort ()
94
94
So (err , ShouldBeNil )
95
95
@@ -138,8 +138,8 @@ func timeoutInvocationFixture() httpFixture {
138
138
func TestHttpFunction (t * testing.T ) {
139
139
Convey ("Considering the Http function" , t , func (c C ) {
140
140
fixtures := []httpFixtureSupplier {
141
- successfulPostWithHeadersInvocationFixture ,
142
- timeoutInvocationFixture ,
141
+ httpSuccessfulPostWithHeadersInvocationFixture ,
142
+ httpTimeoutInvocationFixture ,
143
143
}
144
144
145
145
for _ , fixtureSupplier := range fixtures {
@@ -177,7 +177,7 @@ func TestHttpActionFactory(t *testing.T) {
177
177
})
178
178
}
179
179
180
- func TestValidateAction (t * testing.T ) {
180
+ func TestHttpValidateAction (t * testing.T ) {
181
181
182
182
Convey ("Validate() shall validate correctly the HTTPAction" , t , func (c C ) {
183
183
cases := []struct {
0 commit comments