Commit Graph

44 Commits (main)

Author SHA1 Message Date
Luciano Righetti 16f8ea8c2b fix: fix tests 2023-09-14 17:47:56 +02:00
Luciano Righetti a42599be32 fix: failing test, due to different user 2023-09-14 17:12:36 +02:00
Luciano Righetti 47ff4db826 fix: fix tests, move e2e tests to a separate suite 2023-04-07 14:08:27 +02:00
Luciano Righetti 9ba00dc334 fix: check for required plugins online, the number makes the test fragile as debug plugins may or not be present when running the tests 2023-04-07 11:39:37 +02:00
Luciano Righetti 4ebdbf8ba3 fix: fix most of the tests 2023-04-06 18:00:46 +02:00
Luciano Righetti cea986c622 fix: fix broken test after wiremock-php/wiremock-php upgrade to v2.33 2022-05-17 09:29:16 +02:00
Luciano Righetti 9a2c6a4c4b new: add api tests for MetaTemplates and openapi spec, fix minor issues. 2022-03-08 15:51:07 +01:00
Luciano Righetti 39e9d866bf fix: warnings, notices, deprecation errors 2022-03-02 16:32:06 +01:00
iglocska 2ef2dbbe62
fix: [tests] changed assertion for authkey failure on insufficient privilege from 404 to 405 2022-02-20 14:48:29 +01:00
Luciano Righetti ac4275db10 chg: add wiremock stub verification 2022-01-27 15:43:33 +01:00
Luciano Righetti 2f659ff99f fix: mixed up concepts 2022-01-27 11:29:30 +01:00
Luciano Righetti f1b73c1a64 chg: do not exit 1 if wiremock was not running 2022-01-27 11:14:58 +01:00
Luciano Righetti 6f10a076a3 fix: mark test as incomplete (better). 2022-01-27 10:57:50 +01:00
Luciano Righetti 290baa2354 fix: mark test as skipped, not critical. 2022-01-27 10:50:13 +01:00
Luciano Righetti ed21afd3d8 fix: wrong namespaces 2022-01-27 09:30:00 +01:00
Luciano Righetti bd73b620cd chg: add missing openapi endpoints for sync test 2022-01-26 15:19:23 +01:00
Luciano Righetti 4c60fa0017 chg: tighten tests assertions 2022-01-26 11:00:48 +01:00
Luciano Righetti 5da61f15dd add: initial version of cerebrate->cerebrate misp interconnection 2022-01-25 18:01:51 +01:00
Luciano Righetti 6479fd6183 chg: clean test 2022-01-24 11:43:40 +01:00
Luciano Righetti 25b7d167f1 chg: remove the /api/v1 prefix for api endpoints 2022-01-19 16:22:44 +01:00
Luciano Righetti 01b4bc9bac chg: remove todo section 2022-01-19 16:13:37 +01:00
Luciano Righetti b1f63f190c chg: move openapi validator initialization to tests/bootstrap.php so its only parsed once. 2022-01-19 16:08:50 +01:00
Luciano Righetti 862ea58e49 fix: assertions are already executed 2022-01-19 15:18:29 +01:00
Luciano Righetti 7ed87ff0f2 chg: refactor ApiTestTrait to reduce code duplication, enforce openapi spec validations 2022-01-19 15:15:49 +01:00
Luciano Righetti 5eca1a9160 add: change password via api test, add helper methods to ApiTestTrait. 2022-01-19 10:45:51 +01:00
Luciano Righetti 850eb0fb2d add: cover authkeys api endpoints, extend openapi spec 2022-01-18 17:39:41 +01:00
Luciano Righetti 9551f0b5b8 fix: copy&paste 2022-01-18 16:15:45 +01:00
Luciano Righetti e6daa63064 add: more encription keys api endpoints covered 2022-01-18 16:11:00 +01:00
Luciano Righetti b1ad454db8 add: api tests for /encryptionkeys, extend openapi spec 2022-01-18 14:29:27 +01:00
Luciano Righetti 299cb126dc add: wiremock tests and boilerplate, update test readme, extend openapi spec 2022-01-17 16:02:15 +01:00
Luciano Righetti 25ded7e3bf add: more sharing groups api tests, add broods api tests, extend openapi spec 2022-01-14 17:43:53 +01:00
Luciano Righetti fa7316db3f add: add sharing groups api tests, extend openapi spec 2022-01-14 14:43:21 +01:00
Luciano Righetti c8fd8f4a62 add: add basic api coverage of inbox processor endpoint, extend openapi spec 2022-01-13 16:34:43 +01:00
Luciano Righetti 5906f6d2c7 add: add individuals api tests and extend openapi spec 2022-01-11 17:17:04 +01:00
Luciano Righetti f774f68ede add: add api tests for tags and orgs, extend openapi spec, fix routes for tags plugin 2022-01-11 12:33:34 +01:00
Luciano Righetti b954e11064 add: add/edit operations api tests and openapi spec 2022-01-10 16:19:58 +01:00
Luciano Righetti 28650fa91c add: add users add/edit/delete api tests and openapi docs. 2022-01-10 11:58:52 +01:00
Luciano Righetti 6776789fdf new: add /api/v1/users/index api test 2022-01-07 17:08:00 +01:00
Luciano Righetti c14b84fcc0 chg: rename test files 2022-01-07 17:07:09 +01:00
Luciano Righetti 3923064d07 chg: migrate mysql.sql initial schema to a phinx migration 2022-01-07 14:37:04 +01:00
Luciano Righetti 5b3bef13e2 fix: test 2022-01-07 13:47:20 +01:00
Luciano Righetti a69608530c new: add /api openapi spec view with redoc, add faker to fixtures, validate api responses with openapi spec, add /api/v1/ prefix to api routes 2022-01-07 13:45:52 +01:00
Luciano Righetti a473a9d3fb new: initial api and integration tests. 2022-01-05 17:44:02 +01:00
iglocska 44c60942c0
chg: [restructure] the application
- move the app dir's contents to the source
- update composer for easier installation
2020-06-22 14:28:17 +02:00