We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cd24f4 commit f8656e9Copy full SHA for f8656e9
tests/Unit/Api/Updates/APIOfUpdateTest.php
@@ -0,0 +1,18 @@
1
+<?php
2
+
3
+namespace tests\Unit\Api\Updates;
4
5
+use tests\TestCase;
6
7
+class APIOfUpdateTest extends TestCase {
8
+ public function test_work(){
9
+ $this->assertTrue(true);
10
+ }
11
+ public function test_add_delete_project () {
12
+ $api = $this->api_client();
13
+ $params = ['form_params' => ['key' => 'API_SAMPLE', 'name' => 'APIから作成テスト']];
14
+ $a = $api->addProject( $params );
15
+ $b = $api->deleteProject( $params['form_params']['key'] );
16
+ $this->assertEquals( $a->id, $b->id );
17
18
+}
0 commit comments