Commit graph

45 commits

Author SHA1 Message Date
612564e9fb
test controller 2026-04-18 23:04:25 +03:00
3670fdd869
tests for bulk create nodes 2026-04-18 23:02:32 +03:00
56bdee86cc
fix controller tests to pass in data in proper form 2026-04-18 21:59:57 +03:00
1c1f8b5a58
add tests for node controller
get nodes of text and create node
2026-04-18 21:27:36 +03:00
38d06fce43
refactor getNodes into a new NodeController and update refs 2026-04-17 11:29:55 +03:00
9b24fddec1
update text controller test with node repo 2026-04-17 11:01:20 +03:00
f6791b6459
unit test for create text that it creates a root node as well.
refactor to setUp as well
2026-04-17 10:49:41 +03:00
98f597914a
test text controller methods 2026-04-17 09:55:29 +03:00
0853aacdfb
implement getAll in fake text repo 2026-04-12 22:05:53 +03:00
844813499a
test that only nodes which are not parents are scheduled 2026-03-21 20:01:11 +02:00
bd2679f258
fix get by text id impl 2026-03-18 20:35:33 +02:00
309c085007
add find to fake scheduled node repo 2026-03-01 11:56:35 +02:00
a32989334e
test that creating a plan is done in context of a text and schedules all nodes of text 2026-03-01 11:55:22 +02:00
2affd2a84e
test that error is thrown if plan doesnt exist for creating scheduled node 2026-02-25 10:21:05 +02:00
449df516ae
add find method to plan 2026-02-25 10:17:13 +02:00
412a74e390
add plan to scheduled node 2026-02-25 10:16:59 +02:00
fd0ee57149
test scheduled node belongs to plan 2026-02-25 10:15:49 +02:00
49328404c9
scheduled node repo with create method 2026-02-23 22:40:15 +02:00
f7d8b425c3
test scheduled node is created 2026-02-23 22:36:06 +02:00
f0eb4cf5d5
test that use case throws error if non existant user id given 2026-02-23 11:05:42 +02:00
21da1a8991
fix test warning of undefined array key 2026-02-23 11:05:09 +02:00
547558d850
add user to plan 2026-02-23 10:58:37 +02:00
baa5dee0b3
test plan has user 2026-02-23 10:57:56 +02:00
66c49e07dd
refactor to set up method 2026-02-23 10:45:50 +02:00
9f29b9b94e
test create plan with request 2026-02-23 10:41:31 +02:00
de744c9b15
plan repo with create method 2026-02-23 10:41:22 +02:00
d1eb648b73
test and impl that only one root node exists per text
in practice this means only one node with a null parentNode
2026-02-21 22:44:18 +02:00
4f83ae7926
add find by text id method to node repo w/ impl 2026-02-21 22:43:55 +02:00
1c28f46872
remove unused variables 2026-02-21 22:43:09 +02:00
143a4ffe39
test nonexistant parent node id throws exception 2026-02-21 22:23:30 +02:00
021a2a6f15
add parent node to node, fix type of null 2026-02-21 22:17:59 +02:00
483110f773
add find method to node repo and impl to fake repo 2026-02-21 22:14:10 +02:00
725b895de9
test node has nullable parent node 2026-02-21 22:13:43 +02:00
424d46104b
fix test warning for undefined array key by using array_find 2026-02-21 21:09:08 +02:00
3b79417065
test that create node validates existing text 2026-02-21 21:08:17 +02:00
ba65f8fa42
impl find method in fake text repo 2026-02-20 12:02:00 +02:00
cd9e96f7b1
add setup method and test that node has a text 2026-02-20 12:02:00 +02:00
c0994d806e
add text to node 2026-02-20 12:01:53 +02:00
c8f5f1343e
fake node repo 2026-02-19 21:25:55 +02:00
dce04278ea
test that node is created 2026-02-19 21:25:08 +02:00
467e5288d7
fake test repo 2026-02-19 21:00:02 +02:00
29f93e6b0d
test that text is created 2026-02-19 20:59:49 +02:00
1c6fd5047a
fake user repo 2026-02-14 21:56:59 +02:00
9f38708f7b
rename fake user repo, request doesnt have value object 2026-02-14 21:56:22 +02:00
0e2ddd6a5c
test user is created with email 2026-02-14 20:50:03 +02:00