File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function testCreateBucketWithIpFilterDisabled()
3636 ],
3737 'vpcNetworkSources ' => [
3838 [
39- 'network ' => 'projects/dummy-project /global/networks/dummy-network ' ,
39+ 'network ' => 'projects/ ' . self :: $ client -> projectId () . ' /global/networks/default ' ,
4040 'allowedIpCidrRanges ' => ['10.0.0.0/24 ' ]
4141 ]
4242 ],
@@ -56,7 +56,7 @@ public function testCreateBucketWithIpFilterDisabled()
5656 $ this ->assertEquals ('Disabled ' , $ info ['ipFilter ' ]['mode ' ]);
5757 $ this ->assertEquals (['1.2.3.0/24 ' ], $ info ['ipFilter ' ]['publicNetworkSource ' ]['allowedIpCidrRanges ' ]);
5858 $ this ->assertEquals (
59- 'projects/dummy-project /global/networks/dummy-network ' ,
59+ 'projects/ ' . self :: $ client -> projectId () . ' /global/networks/default ' ,
6060 $ info ['ipFilter ' ]['vpcNetworkSources ' ][0 ]['network ' ]
6161 );
6262 $ this ->assertEquals (['10.0.0.0/24 ' ], $ info ['ipFilter ' ]['vpcNetworkSources ' ][0 ]['allowedIpCidrRanges ' ]);
You can’t perform that action at this time.
0 commit comments