public function PhotosAlbumTest::testOrderValueChange in Album Photos 8.5
Same name and namespace in other branches
- 8.4 tests/src/Unit/PhotosAlbumTest.php \Drupal\Tests\photos\Unit\PhotosAlbumTest::testOrderValueChange()
- 6.0.x tests/src/Unit/PhotosAlbumTest.php \Drupal\Tests\photos\Unit\PhotosAlbumTest::testOrderValueChange()
@covers ::orderValueChange @dataProvider orderValueChangeProvider
File
- tests/
src/ Unit/ PhotosAlbumTest.php, line 50
Class
- PhotosAlbumTest
- @coversDefaultClass \Drupal\photos\PhotosAlbum @group photos
Namespace
Drupal\Tests\photos\UnitCode
public function testOrderValueChange($field, $sort, $expected_result) {
$this
->assertSame($expected_result, PhotosAlbum::orderValueChange($field, $sort));
}