mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
Fixed general settings acceptance test
This commit is contained in:
parent
e3d5689fe1
commit
d2a112723b
2 changed files with 2 additions and 3 deletions
|
@ -95,7 +95,6 @@
|
|||
<div class="gh-setting" data-test-setting="icon">
|
||||
{{#gh-uploader
|
||||
extensions=iconExtensions
|
||||
uploadUrl="/images/upload/"
|
||||
paramsHash=(hash purpose="icon")
|
||||
onComplete=(action "imageUploaded" "icon")
|
||||
as |uploader|
|
||||
|
|
|
@ -199,7 +199,7 @@ describe('Acceptance: Settings - General', function () {
|
|||
).to.not.exist;
|
||||
|
||||
// failed upload shows error
|
||||
this.server.post('/images/', function () {
|
||||
this.server.post('/images/upload/', function () {
|
||||
return {
|
||||
errors: [{
|
||||
errorType: 'ValidationError',
|
||||
|
@ -268,7 +268,7 @@ describe('Acceptance: Settings - General', function () {
|
|||
).to.not.exist;
|
||||
|
||||
// failed upload shows error
|
||||
this.server.post('/images/', function () {
|
||||
this.server.post('/images/upload/', function () {
|
||||
return {
|
||||
errors: [{
|
||||
errorType: 'ValidationError',
|
||||
|
|
Loading…
Reference in a new issue