mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-30 22:34:18 -05:00
Test the limiter in TestTransformingTransport
This commit is contained in:
parent
3b325b0f98
commit
b2a9772484
1 changed files with 1 additions and 0 deletions
|
@ -492,6 +492,7 @@ func TestTransformingTransport(t *testing.T) {
|
|||
tr := &TransformingTransport{
|
||||
Transport: testTransport{},
|
||||
CachingClient: client,
|
||||
limiter: make(chan struct{}, 1),
|
||||
}
|
||||
client.Transport = tr
|
||||
|
||||
|
|
Loading…
Reference in a new issue