Skip to content

Commit 7ddc440

Browse files
adapt bigtable system test to projectId auto-detection (#1833)
1 parent f396c9f commit 7ddc440

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/bigtable/system-test/bigtable.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,10 @@ describe('Bigtable', function() {
274274

275275
it('should get the tables metadata', function(done) {
276276
TABLE.getMetadata(function(err, metadata) {
277-
assert.strictEqual(metadata.name, TABLE.id);
277+
assert.strictEqual(
278+
metadata.name,
279+
TABLE.id.replace('{{projectId}}', bigtable.projectId)
280+
);
278281
done();
279282
});
280283
});

0 commit comments

Comments
 (0)