Commit e5af7b76 authored by chr.fritsch's avatar chr.fritsch Committed by chr.fritsch

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

parent 163b0a26
......@@ -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')]"));
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment