Skip to content
Snippets Groups Projects
Commit e5af7b76 authored by Christian Fritsch's avatar Christian Fritsch Committed by Christian Fritsch
Browse files

Issue #2834781 by cburschka, chr.fritsch: Hardcoded module path in JS unit test causes failures

parent 163b0a26
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ class DropzoneJsElementTest extends KernelTestBase {
$this->assertTrue($this->xpath("$xpath_base/input[contains(@data-upload-path, '/dropzonejs/upload?token=')]"));
// Js is attached.
$this->assertTrue($this->xpath("/html/body/script[contains(@src, 'libraries/dropzone/dist/min/dropzone.min.js')]"));
$this->assertTrue($this->xpath("/html/body/script[contains(@src, 'modules/contrib/dropzonejs/js/dropzone.integration.js')]"));
$this->assertTrue($this->xpath("/html/body/script[contains(@src, 'dropzonejs/js/dropzone.integration.js')]"));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment