File tree 1 file changed +1
-17
lines changed
1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public static function setUpBeforeClass(): void
78
78
79
79
public function testCreateDatabaseWithProtoColumns ()
80
80
{
81
- $ output = $ this ->runAdminFunctionSnippet ('create_database_with_proto_columns ' , [
81
+ $ output = $ this ->runFunctionSnippet ('create_database_with_proto_columns ' , [
82
82
self ::$ projectId ,
83
83
self ::$ instanceId ,
84
84
self ::$ databaseId
@@ -119,22 +119,6 @@ public function testQueryDataWithProtoColumns()
119
119
$ this ->assertStringContainsString ('testing.data.Book ' , $ output );
120
120
}
121
121
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
-
138
122
public static function tearDownAfterClass (): void
139
123
{
140
124
if (self ::$ instance ->exists ()) {
You can’t perform that action at this time.
0 commit comments