You are here

8 calls to FileManagedUnitTestBase::assertDifferentFile() in Drupal 8

CopyTest::testExistingError in core/modules/file/tests/src/Kernel/CopyTest.php
Test that copying over an existing file fails when instructed to do so.
CopyTest::testExistingRename in core/modules/file/tests/src/Kernel/CopyTest.php
Test renaming when copying over a file that already exists.
CopyTest::testExistingReplace in core/modules/file/tests/src/Kernel/CopyTest.php
Test replacement when copying over a file that already exists.
CopyTest::testNormal in core/modules/file/tests/src/Kernel/CopyTest.php
Test file copying in the normal, base case.
MoveTest::testExistingError in core/modules/file/tests/src/Kernel/MoveTest.php
Test that moving onto an existing file fails when instructed to do so.
MoveTest::testExistingRename in core/modules/file/tests/src/Kernel/MoveTest.php
Test renaming when moving onto a file that already exists.
MoveTest::testExistingReplace in core/modules/file/tests/src/Kernel/MoveTest.php
Test replacement when moving onto a file that already exists.
SaveDataTest::testExistingRename in core/modules/file/tests/src/Kernel/SaveDataTest.php
Test file_save_data() when renaming around an existing file.