Skip to content

Commit 6a26991

Browse files
fix(bigquery): update test from viewTableOrViewAccessPolicy
1 parent 250ed79 commit 6a26991

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

bigquery/cloud-client/test/viewTableOrViewAccessPolicy.test.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -70,32 +70,4 @@ describe('viewTableOrViewAccessPolicy', () => {
7070
'Should log version information'
7171
);
7272
});
73-
74-
it('should view view access policies', async () => {
75-
// View the view access policy
76-
await viewTableOrViewAccessPolicy(projectId, datasetId, viewId);
77-
78-
// Check that the right messages were logged
79-
assert.strictEqual(
80-
console.log.calledWith(
81-
`Access Policy details for table or view '${viewId}'.`
82-
),
83-
true
84-
);
85-
86-
assert.ok(
87-
console.log.calledWith(sinon.match('Bindings:')),
88-
'Should log bindings information'
89-
);
90-
91-
assert.ok(
92-
console.log.calledWith(sinon.match('etag:')),
93-
'Should log etag information'
94-
);
95-
96-
assert.ok(
97-
console.log.calledWith(sinon.match('Version:')),
98-
'Should log version information'
99-
);
100-
});
10173
});

0 commit comments

Comments
 (0)