瀏覽代碼

fix google cloud sdk tests

Adds new method required by interface since https://github.com/googleapis/google-cloud-php/pull/7966
El RIDO 1 年之前
父節點
當前提交
c27c18faf9
共有 1 個文件被更改,包括 5 次插入 和 0 次删除
  1. 5 0
      tst/Bootstrap.php

+ 5 - 0
tst/Bootstrap.php

@@ -763,6 +763,11 @@ class ConnectionInterfaceStub implements ConnectionInterface
         throw new BadMethodCallException('not supported by this stub');
         throw new BadMethodCallException('not supported by this stub');
     }
     }
 
 
+    public function restoreBucket(array $args = array())
+    {
+        throw new BadMethodCallException('not supported by this stub');
+    }
+
     public function getBucket(array $args = array())
     public function getBucket(array $args = array())
     {
     {
         throw new BadMethodCallException('not supported by this stub');
         throw new BadMethodCallException('not supported by this stub');