1
0
Fork 0
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:
Kevin Ansfield 2019-02-26 09:15:19 +07:00
parent e3d5689fe1
commit d2a112723b
2 changed files with 2 additions and 3 deletions

View file

@ -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|

View file

@ -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',