summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/de/test/antennapod/service
diff options
context:
space:
mode:
authorTacoTheDank <SkytkRSfan3895@gmail.com>2022-05-15 15:02:21 -0400
committerTacoTheDank <SkytkRSfan3895@gmail.com>2022-05-15 15:02:21 -0400
commit0e96df3cba68e604ebc608fc016e43bb7ab2529a (patch)
tree3f5092d05afc3f845deec785a29702e6d088944f /app/src/androidTest/java/de/test/antennapod/service
parent0fbc6992a1947436943e46bbe021311f41290bec (diff)
downloadAntennaPod-0e96df3cba68e604ebc608fc016e43bb7ab2529a.zip
Move test mp3s to androidTest directory
Diffstat (limited to 'app/src/androidTest/java/de/test/antennapod/service')
-rw-r--r--app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceMediaPlayerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceMediaPlayerTest.java b/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceMediaPlayerTest.java
index e115bc34e..aa2f1cf98 100644
--- a/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceMediaPlayerTest.java
+++ b/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceMediaPlayerTest.java
@@ -85,7 +85,7 @@ public class PlaybackServiceMediaPlayerTest {
assertTrue(cacheDir.canWrite());
assertTrue(cacheDir.canRead());
if (!dest.exists()) {
- InputStream i = getInstrumentation().getTargetContext().getAssets().open("3sec.mp3");
+ InputStream i = getInstrumentation().getContext().getAssets().open("3sec.mp3");
OutputStream o = new FileOutputStream(new File(cacheDir, PLAYABLE_DEST_URL));
IOUtils.copy(i, o);
o.flush();