@@ -113,13 +113,10 @@ public function testDefaultValues()
113113 putenv ('GOOGLE_CLOUD_BATCH_PROJECT ' );
114114 $ r = new \ReflectionObject ($ this ->storage );
115115 $ p = $ r ->getProperty ('shmSize ' );
116- $ p ->setAccessible (true );
117116 $ this ->assertEquals (200000 , $ p ->getValue ($ this ->storage ));
118117 $ p = $ r ->getProperty ('perm ' );
119- $ p ->setAccessible (true );
120118 $ this ->assertEquals (0600 , $ p ->getValue ($ this ->storage ));
121119 $ p = $ r ->getProperty ('project ' );
122- $ p ->setAccessible (true );
123120 $ this ->assertEquals ('A ' , $ p ->getValue ($ this ->storage ));
124121 }
125122
@@ -131,13 +128,10 @@ public function testEnvVarCustomization()
131128 $ storage = new SysvConfigStorage ();
132129 $ r = new \ReflectionObject ($ storage );
133130 $ p = $ r ->getProperty ('shmSize ' );
134- $ p ->setAccessible (true );
135131 $ this ->assertEquals (10 , $ p ->getValue ($ storage ));
136132 $ p = $ r ->getProperty ('perm ' );
137- $ p ->setAccessible (true );
138133 $ this ->assertEquals (0666 , $ p ->getValue ($ storage ));
139134 $ p = $ r ->getProperty ('project ' );
140- $ p ->setAccessible (true );
141135 $ this ->assertEquals ('B ' , $ p ->getValue ($ storage ));
142136 }
143137}
0 commit comments