weryques
eac7db72c4
Delete Term
2018-01-15 17:47:27 -02:00
weryques
a2d6c38c13
Delete filter
2018-01-15 09:15:21 -02:00
weryques
43b15b55ba
Test for filters delete or trash and started delete endpoint
2018-01-12 14:17:52 -02:00
Jacson Passold
ae8f2f7dde
can_publish test
2018-01-10 21:42:51 -02:00
Jacson Passold
1b8c7f63ca
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-10 21:09:48 -02:00
Jacson Passold
6ba5122dfe
simple perm test using map
2018-01-10 21:09:41 -02:00
weryques
0541d78b5f
Create endpoint to POST filters and your test.
2018-01-10 13:56:55 -02:00
Jacson Passold
b95161792b
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-08 19:53:20 -02:00
Jacson Passold
2851d8b545
user already set at super class
2018-01-08 19:30:26 -02:00
weryques
a9edd8ef19
Create term in a taxonomy and test that creation.
2018-01-08 15:33:47 -02:00
weryques
a3a8c10e4a
Test delete or trash Taxonomy
2018-01-08 10:53:28 -02:00
Jacson Passold
441d337f26
filter need names because post_title can not be null
2018-01-03 17:39:10 -02:00
Jacson Passold
f0caa21bab
setup test for user support
2018-01-03 17:38:00 -02:00
Jacson Passold
b1f8759a6b
funtion to check read and write perm and read test
2017-12-26 20:08:15 -02:00
Jacson Passold
5bbe4ebe7e
move roles test from collections to a new file
2017-12-20 22:26:48 -02:00
Jacson Passold
b2e4639e43
simple capabilities ecosystem
2017-12-20 22:13:33 -02:00
weryques
167867620e
Api updates
...
Created taxonomies Controller;
Now the entities have the method __toArray();
Created test for taxonomies Controller;
Added more exceptions treatments;
terms Controller was initiated;
And other improvements.
2017-12-19 14:24:30 -02:00
weryques
96aa29d61b
Now the basic user capabilities are working
2017-12-18 10:52:45 -02:00
weryques
e4175f83ab
Added error messages
2017-12-13 13:07:01 -02:00
weryques
3550c8b614
Get item metadata and Get Collection metadata
2017-12-12 15:17:55 -02:00
weryques
94d6ca8dc6
Removed unecessary verification
2017-12-12 12:16:17 -02:00
weryques
876bd47539
Removing duplicated validation
2017-12-12 12:11:50 -02:00
weryques
b9ef55c21f
Remove translations
2017-12-12 12:01:41 -02:00
Jacson Passold
f04fb3d81c
Merge branch 'master' of github.com:tainacan/tainacan
2017-12-12 11:46:50 -02:00
Jacson Passold
1f440bafad
add publish to factory param
2017-12-12 11:40:01 -02:00
weryques
c4f47882b4
Exception treatments
2017-12-12 09:59:50 -02:00
weryques
3485669367
API and API Tests
...
Created Metadata controller;
Improved Item Controller;
Created Test for metadata controller
2017-12-11 14:46:26 -02:00
Jacson Passold
a00bbc3abb
print invalid props
2017-12-11 12:57:15 -02:00
Jacson Passold
36fcc6e7f3
set type for eclipse doc helper
2017-12-11 12:36:24 -02:00
Jacson Passold
c10407f74b
move prop id to super class, check post_types on object creation, set some defaults props, abstract get_map fucntion, fix map filter for use only in the right entity, add initial objects tests
2017-12-11 12:25:28 -02:00
weryques
3b3cfda7fb
Collections API and Repository
...
Endpoint DELETE is working;
Method delete is implemented;
2017-12-08 13:09:36 -02:00
weryques
ecf8a171d3
Items Api and Repository
...
Endpoint DELETE is working;
Method delete is working;
A route was changed in Items Controller.
2017-12-08 12:53:55 -02:00
weryques
d2495af712
Test delete or trash items and collections
2017-12-07 13:49:11 -02:00
Leo Germani
139e93f191
fixing assert arguments order on tests
2017-12-07 11:54:43 -02:00
weryques
b5a247e4e5
API
...
Test create item in a collection;
Implemented create item in Items controller;
Implemented prepare item for database in Item controller;
2017-12-07 10:46:31 -02:00
weryques
75a64ebed1
Test fetch items from a collection
2017-12-07 10:00:35 -02:00
Eduardo humberto
11a40ddee9
update field and filter type properties in entities, save options in database
2017-12-05 15:42:15 -02:00
weryques
ff0fd7ba8e
Merge branch 'master' of https://github.com/tainacan/tainacan
2017-12-05 10:29:48 -02:00
weryques
b433cf3d60
Improvements on catch errors
2017-12-05 10:28:38 -02:00
Eduardo humberto
e9813b1592
add test new field type
2017-12-05 08:37:50 -02:00
Jacson Passold
a6d39f7666
phpunit api group (phpunit --group api)
2017-12-04 17:01:34 -02:00
Jacson Passold
043a5a02a0
Merge branch 'master' of github.com:tainacan/tainacan
2017-12-04 16:47:46 -02:00
Jacson Passold
fd63a432cd
separate hoot test
2017-12-04 16:47:38 -02:00
Jacson Passold
9da2c61044
new api test method, using wordpress rest team form ( https://github.com/WP-API/WP-API/blob/develop/tests/test-rest-posts-controller.php )
2017-12-04 16:46:56 -02:00
Jacson Passold
a867901849
remove a not working forced plugin installation
2017-12-04 16:45:57 -02:00
Jacson Passold
440d433df3
call the parent setUp
2017-12-04 16:44:48 -02:00
Jacson Passold
3607d99181
add a base class for api test cases
2017-12-04 16:42:41 -02:00
Eduardo humberto
ff09c7bf11
register default types on init
2017-12-04 16:30:58 -02:00
weryques
3b0d738fc2
Now factories are used in all tests
2017-12-04 16:20:49 -02:00
weryques
ed0c3d9674
Factories and Test adaptations
...
Factories field and filter were created.
Tests from collection, filters and item metadata
were adapted it.
2017-12-04 12:58:19 -02:00