File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
firebase-storage/src/test
java/com/google/firebase/storage Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public void listResultsWithMultiplePages() throws InterruptedException {
106
106
@ Test
107
107
public void listFailure () throws InterruptedException {
108
108
MockConnectionFactory factory =
109
- NetworkLayerMock .ensureNetworkMock ("listSinglePageFailed" , true );
109
+ NetworkLayerMock .ensureNetworkMock ("listSinglePageFailed" , false );
110
110
Task <StringBuilder > task = TestCommandHelper .listFiles (/* pageSize= */ 10 , /* pageCount= */ 1 );
111
111
112
112
TestUtil .await (task );
@@ -128,7 +128,7 @@ public void listAll() throws InterruptedException {
128
128
129
129
@ Test
130
130
public void listAllWithFailure () throws InterruptedException {
131
- MockConnectionFactory factory = NetworkLayerMock .ensureNetworkMock ("listAllFailed" , true );
131
+ MockConnectionFactory factory = NetworkLayerMock .ensureNetworkMock ("listAllFailed" , false );
132
132
Task <StringBuilder > task = TestCommandHelper .listAllFiles ();
133
133
134
134
TestUtil .await (task );
Original file line number Diff line number Diff line change 1
1
2
2
<new>
3
- Url:https://firebasestorage.googleapis.com/v0/b/fooeylistAllFailed_network.txt .appspot.com/o?prefix=largeDirectory%2F&delimiter=%2F
3
+ Url:https://firebasestorage.googleapis.com/v0/b/fooey .appspot.com/o?prefix=largeDirectory%2F&delimiter=%2F
4
4
setRequestMethod:GET
5
5
setRequestProperty:X-Firebase-Storage-Version,Android/[No Gmscore]
6
6
setRequestProperty:x-firebase-gmpid,fooey
You can’t perform that action at this time.
0 commit comments