We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 478c6a0 commit 1e98b56Copy full SHA for 1e98b56
1 file changed
tests/Feature/OperationsTest.php
@@ -0,0 +1,21 @@
1
+<?php
2
+
3
+namespace Feature;
4
5
+use Tests\TestCase;
6
7
+class OperationsTest extends TestCase
8
+{
9
10
+ public function testCanCreateSnapshot(): void
11
+ {
12
+ $returnData = $this->client()->operations->perform("snapshot", ["snapshot_path" => "/tmp/typesense-data-snapshot"]);
13
+ $this->assertIsBool($returnData['success']);
14
+ }
15
16
+ public function testCanReElectLeader(): void
17
18
+ $returnData = $this->client()->operations->perform("vote");
19
20
21
+}
0 commit comments