File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -76,14 +76,6 @@ public static function setUpBeforeClass(): void
7676 self ::$ instance = $ spanner ->instance (self ::$ instanceId );
7777 }
7878
79- public function testCancelBackup ()
80- {
81- $ output = $ this ->runFunctionSnippet ('cancel_backup ' , [
82- self ::$ databaseId
83- ]);
84- $ this ->assertStringContainsString ('Cancel backup operation complete ' , $ output );
85- }
86-
8779 public function testCreateDatabaseWithVersionRetentionPeriod ()
8880 {
8981 $ output = $ this ->runFunctionSnippet ('create_database_with_version_retention_period ' , [
@@ -94,6 +86,17 @@ public function testCreateDatabaseWithVersionRetentionPeriod()
9486 $ this ->assertStringContainsString (self ::$ retentionPeriod , $ output );
9587 }
9688
89+ /**
90+ * @depends testCreateDatabaseWithVersionRetentionPeriod
91+ */
92+ public function testCancelBackup ()
93+ {
94+ $ output = $ this ->runFunctionSnippet ('cancel_backup ' , [
95+ self ::$ databaseId
96+ ]);
97+ $ this ->assertStringContainsString ('Cancel backup operation complete ' , $ output );
98+ }
99+
97100 /**
98101 * @depends testCreateDatabaseWithVersionRetentionPeriod
99102 */
You can’t perform that action at this time.
0 commit comments