Browse code

removed appinfo/signature.json and Telnyx

DoubleBastionAdmin authored on 19/08/2022 12:45:59
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,64 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx;
4
-
5
-class BillingGroupTest extends TestCase
6
-{
7
-    const TEST_RESOURCE_ID = '123';
8
-
9
-
10
-    public function testIsListable()
11
-    {
12
-        $this->expectsRequest(
13
-            'get',
14
-            '/v2/billing_groups'
15
-        );
16
-        $resources = BillingGroup::all();
17
-        $this->assertInstanceOf(\Telnyx\Collection::class, $resources);
18
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resources[0]);
19
-    }
20
-
21
-    public function testIsCreatable()
22
-    {
23
-        $this->expectsRequest(
24
-            'post',
25
-            '/v2/billing_groups'
26
-        );
27
-        $resource = BillingGroup::create(["name" => "My billing group name"]);
28
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
29
-    }
30
-
31
-    public function testIsDeletable()
32
-    {
33
-        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
34
-        $this->expectsRequest(
35
-            'delete',
36
-            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
37
-        );
38
-        $resource->delete();
39
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
40
-    }
41
-
42
-    public function testIsRetrievable()
43
-    {
44
-        $this->expectsRequest(
45
-            'get',
46
-            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
47
-        );
48
-        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
49
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
50
-    }
51
-
52
-
53
-    public function testIsUpdatable()
54
-    {
55
-        $this->expectsRequest(
56
-            'patch',
57
-            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
58
-        );
59
-        $resource = BillingGroup::update(self::TEST_RESOURCE_ID, [
60
-            "name" => "My updated billing group name",
61
-        ]);
62
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
63
-    }
64
-}
Browse code

added appinfo/signature.json and Telnyx directory

DoubleBastionAdmin authored on 19/08/2022 11:38:54
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,64 @@
1
+<?php
2
+
3
+namespace Telnyx;
4
+
5
+class BillingGroupTest extends TestCase
6
+{
7
+    const TEST_RESOURCE_ID = '123';
8
+
9
+
10
+    public function testIsListable()
11
+    {
12
+        $this->expectsRequest(
13
+            'get',
14
+            '/v2/billing_groups'
15
+        );
16
+        $resources = BillingGroup::all();
17
+        $this->assertInstanceOf(\Telnyx\Collection::class, $resources);
18
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resources[0]);
19
+    }
20
+
21
+    public function testIsCreatable()
22
+    {
23
+        $this->expectsRequest(
24
+            'post',
25
+            '/v2/billing_groups'
26
+        );
27
+        $resource = BillingGroup::create(["name" => "My billing group name"]);
28
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
29
+    }
30
+
31
+    public function testIsDeletable()
32
+    {
33
+        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
34
+        $this->expectsRequest(
35
+            'delete',
36
+            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
37
+        );
38
+        $resource->delete();
39
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
40
+    }
41
+
42
+    public function testIsRetrievable()
43
+    {
44
+        $this->expectsRequest(
45
+            'get',
46
+            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
47
+        );
48
+        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
49
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
50
+    }
51
+
52
+
53
+    public function testIsUpdatable()
54
+    {
55
+        $this->expectsRequest(
56
+            'patch',
57
+            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
58
+        );
59
+        $resource = BillingGroup::update(self::TEST_RESOURCE_ID, [
60
+            "name" => "My updated billing group name",
61
+        ]);
62
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
63
+    }
64
+}
Browse code

removed Telnyx directory

DoubleBastionAdmin authored on 19/08/2022 11:12:03
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,64 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx;
4
-
5
-class BillingGroupTest extends TestCase
6
-{
7
-    const TEST_RESOURCE_ID = '123';
8
-
9
-
10
-    public function testIsListable()
11
-    {
12
-        $this->expectsRequest(
13
-            'get',
14
-            '/v2/billing_groups'
15
-        );
16
-        $resources = BillingGroup::all();
17
-        $this->assertInstanceOf(\Telnyx\Collection::class, $resources);
18
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resources[0]);
19
-    }
20
-
21
-    public function testIsCreatable()
22
-    {
23
-        $this->expectsRequest(
24
-            'post',
25
-            '/v2/billing_groups'
26
-        );
27
-        $resource = BillingGroup::create(["name" => "My billing group name"]);
28
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
29
-    }
30
-
31
-    public function testIsDeletable()
32
-    {
33
-        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
34
-        $this->expectsRequest(
35
-            'delete',
36
-            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
37
-        );
38
-        $resource->delete();
39
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
40
-    }
41
-
42
-    public function testIsRetrievable()
43
-    {
44
-        $this->expectsRequest(
45
-            'get',
46
-            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
47
-        );
48
-        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
49
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
50
-    }
51
-
52
-
53
-    public function testIsUpdatable()
54
-    {
55
-        $this->expectsRequest(
56
-            'patch',
57
-            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
58
-        );
59
-        $resource = BillingGroup::update(self::TEST_RESOURCE_ID, [
60
-            "name" => "My updated billing group name",
61
-        ]);
62
-        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
63
-    }
64
-}
Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:47:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,64 @@
1
+<?php
2
+
3
+namespace Telnyx;
4
+
5
+class BillingGroupTest extends TestCase
6
+{
7
+    const TEST_RESOURCE_ID = '123';
8
+
9
+
10
+    public function testIsListable()
11
+    {
12
+        $this->expectsRequest(
13
+            'get',
14
+            '/v2/billing_groups'
15
+        );
16
+        $resources = BillingGroup::all();
17
+        $this->assertInstanceOf(\Telnyx\Collection::class, $resources);
18
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resources[0]);
19
+    }
20
+
21
+    public function testIsCreatable()
22
+    {
23
+        $this->expectsRequest(
24
+            'post',
25
+            '/v2/billing_groups'
26
+        );
27
+        $resource = BillingGroup::create(["name" => "My billing group name"]);
28
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
29
+    }
30
+
31
+    public function testIsDeletable()
32
+    {
33
+        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
34
+        $this->expectsRequest(
35
+            'delete',
36
+            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
37
+        );
38
+        $resource->delete();
39
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
40
+    }
41
+
42
+    public function testIsRetrievable()
43
+    {
44
+        $this->expectsRequest(
45
+            'get',
46
+            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
47
+        );
48
+        $resource = BillingGroup::retrieve(self::TEST_RESOURCE_ID);
49
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
50
+    }
51
+
52
+
53
+    public function testIsUpdatable()
54
+    {
55
+        $this->expectsRequest(
56
+            'patch',
57
+            '/v2/billing_groups/' . urlencode(self::TEST_RESOURCE_ID)
58
+        );
59
+        $resource = BillingGroup::update(self::TEST_RESOURCE_ID, [
60
+            "name" => "My updated billing group name",
61
+        ]);
62
+        $this->assertInstanceOf(\Telnyx\BillingGroup::class, $resource);
63
+    }
64
+}