PHP Класс Spatie\EloquentSortable\Test\SortableTest

Наследование: extends TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
it_can_get_the_highest_order_number ( )
it_can_get_the_highest_order_number_with_trashed_models ( )
it_can_move_a_model_to_the_first_place ( )
it_can_move_a_model_to_the_last_place ( )
it_can_move_the_order_down ( )
it_can_move_the_order_up ( )
it_can_set_a_new_order ( )
it_can_set_a_new_order_from_collection ( )
it_can_set_a_new_order_with_trashed_models ( )
it_can_set_a_new_order_without_trashed_models ( )
it_can_swap_itself_with_another_model ( )
it_can_swap_the_position_of_two_given_models ( )
it_provides_an_ordered_trait ( )
it_sets_the_order_column_on_creation ( )
it_will_determine_to_sort_when_creating_if_sort_when_creating_setting_does_not_exist ( )
it_will_determine_to_sort_when_creating_if_sortable_attribute_does_not_exist ( )
it_will_not_break_when_it_cant_move_the_order_up ( )
it_will_not_fail_when_it_cant_move_the_order_down ( )
it_will_respect_the_sort_when_creating_setting ( )

Описание методов

it_can_get_the_highest_order_number() публичный Метод

it_can_get_the_highest_order_number_with_trashed_models() публичный Метод

it_can_move_a_model_to_the_first_place() публичный Метод

it_can_move_a_model_to_the_last_place() публичный Метод

it_can_move_the_order_down() публичный Метод

it_can_move_the_order_up() публичный Метод

it_can_set_a_new_order() публичный Метод

it_can_set_a_new_order_from_collection() публичный Метод

it_can_set_a_new_order_with_trashed_models() публичный Метод

it_can_set_a_new_order_without_trashed_models() публичный Метод

it_can_swap_itself_with_another_model() публичный Метод

it_can_swap_the_position_of_two_given_models() публичный Метод

it_provides_an_ordered_trait() публичный Метод

it_sets_the_order_column_on_creation() публичный Метод

it_will_determine_to_sort_when_creating_if_sort_when_creating_setting_does_not_exist() публичный Метод

it_will_determine_to_sort_when_creating_if_sortable_attribute_does_not_exist() публичный Метод

it_will_not_break_when_it_cant_move_the_order_up() публичный Метод

it_will_not_fail_when_it_cant_move_the_order_down() публичный Метод

it_will_respect_the_sort_when_creating_setting() публичный Метод