| @@ 558-575 (lines=18) @@ | ||
| 555 | self::assertEquals($mainLocation->id, $res = $methodReflection->invoke($handler, 68)); |
|
| 556 | } |
|
| 557 | ||
| 558 | public static function getCreateLocationValues() |
|
| 559 | { |
|
| 560 | return [ |
|
| 561 | ['contentobject_id', 68], |
|
| 562 | ['contentobject_is_published', 1], |
|
| 563 | ['contentobject_version', 1], |
|
| 564 | ['depth', 3], |
|
| 565 | ['is_hidden', 0], |
|
| 566 | ['is_invisible', 0], |
|
| 567 | ['main_node_id', 42], |
|
| 568 | ['parent_node_id', 77], |
|
| 569 | ['path_identification_string', ''], |
|
| 570 | ['priority', 1], |
|
| 571 | ['remote_id', 'some_id'], |
|
| 572 | ['sort_field', 1], |
|
| 573 | ['sort_order', 1], |
|
| 574 | ]; |
|
| 575 | } |
|
| 576 | ||
| 577 | /** |
|
| 578 | * @depends testCreateLocation |
|
| @@ 710-727 (lines=18) @@ | ||
| 707 | ); |
|
| 708 | } |
|
| 709 | ||
| 710 | public static function getNodeAssignmentValues() |
|
| 711 | { |
|
| 712 | return [ |
|
| 713 | ['contentobject_version', 1], |
|
| 714 | ['from_node_id', 0], |
|
| 715 | ['id', 215], |
|
| 716 | ['is_main', 0], |
|
| 717 | ['op_code', 3], |
|
| 718 | ['parent_node', 77], |
|
| 719 | ['parent_remote_id', 'some_id'], |
|
| 720 | ['remote_id', '0'], |
|
| 721 | ['sort_field', 2], |
|
| 722 | ['sort_order', 0], |
|
| 723 | ['is_main', 0], |
|
| 724 | ['priority', 1], |
|
| 725 | ['is_hidden', 1], |
|
| 726 | ]; |
|
| 727 | } |
|
| 728 | ||
| 729 | /** |
|
| 730 | * @depends testCreateLocation |
|