File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/src/test/java/com/bumptech/glide Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ public void testClone() throws IOException {
535
535
doAnswer (new CallSizeReady (100 , 100 )).when (firstTarget ).getSize (isA (SizeReadyCallback .class ));
536
536
Target secondTarget = mock (Target .class );
537
537
doAnswer (new CallSizeReady (100 , 100 )).when (secondTarget ).getSize (isA (SizeReadyCallback .class ));
538
- RequestBuilder <Drawable > firstRequest = Glide . with ( getContext ())
538
+ RequestBuilder <Drawable > firstRequest = requestManager
539
539
.load (mockUri ("content://first" ));
540
540
541
541
firstRequest .into (firstTarget );
@@ -544,7 +544,7 @@ public void testClone() throws IOException {
544
544
.apply (placeholderOf (new ColorDrawable (Color .RED )))
545
545
.into (secondTarget );
546
546
547
- verify (firstTarget ).onResourceReady (isA (BitmapDrawable .class ), isA (Transition .class ));
547
+ verify (firstTarget ).onResourceReady (isA (Drawable .class ), isA (Transition .class ));
548
548
verify (secondTarget ).onResourceReady (notNull (), isA (Transition .class ));
549
549
}
550
550
You can’t perform that action at this time.
0 commit comments