File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public static function setUpBeforeClass(): void
7878
7979 public function testCreateDatabaseWithProtoColumns ()
8080 {
81- $ output = $ this ->runAdminFunctionSnippet ('create_database_with_proto_columns ' , [
81+ $ output = $ this ->runFunctionSnippet ('create_database_with_proto_columns ' , [
8282 self ::$ projectId ,
8383 self ::$ instanceId ,
8484 self ::$ databaseId
@@ -119,22 +119,6 @@ public function testQueryDataWithProtoColumns()
119119 $ this ->assertStringContainsString ('testing.data.Book ' , $ output );
120120 }
121121
122- private function runFunctionSnippet ($ sampleName , $ params = [])
123- {
124- return $ this ->traitRunFunctionSnippet (
125- $ sampleName ,
126- array_values ($ params ) ?: [self ::$ instanceId , self ::$ databaseId ]
127- );
128- }
129-
130- private function runAdminFunctionSnippet ($ sampleName , $ params = [])
131- {
132- return $ this ->traitRunFunctionSnippet (
133- $ sampleName ,
134- array_values ($ params ) ?: [self ::$ projectId , self ::$ instanceId , self ::$ databaseId ]
135- );
136- }
137-
138122 public static function tearDownAfterClass (): void
139123 {
140124 if (self ::$ instance ->exists ()) {
You can’t perform that action at this time.
0 commit comments