Skip to content

Commit

Permalink
fix google cloud sdk tests
Browse files Browse the repository at this point in the history
Adds new method required by interface since googleapis/google-cloud-php#7966
  • Loading branch information
elrido committed Jan 11, 2025
1 parent c27c18f commit e27e3ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tst/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -924,11 +924,10 @@ public function __construct(array $config = array())
$this->_connection = new ConnectionInterfaceStub();
}

public function bucket($name, $userProject = false)
public function bucket($name, $userProject = false, array $config = array())
{
if (!key_exists($name, self::$_buckets)) {
$b = new BucketStub($this->_connection, $name, array(), $this);
self::$_buckets[$name] = $b;
self::$_buckets[$name] = new BucketStub($this->_connection, $name, array(), $this);
}
return self::$_buckets[$name];
}
Expand Down

0 comments on commit e27e3ac

Please sign in to comment.