-
Notifications
You must be signed in to change notification settings - Fork 0
/
Public.php
44 lines (43 loc) · 988 Bytes
/
Public.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
// Public functions
if ( ! function_exists( 'apiVolunteerManagerIntegrationFakeJsonString' ) ) {
function apiVolunteerManagerIntegrationFakeJsonString(): string {
return '{
"posts": [
{
"id": 9485,
"title": "Assignment test",
"slug": "test",
"content": "Test content",
"type": "assignment"
},
{
"id": 475,
"title": "Assignment test 2",
"slug": "test-2",
"content": "Test content",
"type": "assignment"
},
{
"id": 2312,
"title": "Assignment test 3",
"slug": "test-3",
"content": "Test content",
"type": "assignment"
},
{
"id": 2312,
"title": "Assignment test 123",
"slug": "test-123",
"content": "Test content",
"type": "assignment"
}
],
"terms": [],
"types": [
"assignment"
],
"taxonomies": []
}';
}
}