Skip to content

Commit

Permalink
new fixtures for the default align attribute of core/image
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Nov 6, 2023
1 parent d88c9c3 commit 19c37f2
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2016/09/cropped-img_9054-1.jpg?w=190",
"alt": "Image gallery image",
"caption": "",
Expand All @@ -32,6 +33,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2017/09/cropped-l1001498-1.jpg?w=580",
"alt": "Image gallery image",
"caption": "",
Expand Down
2 changes: 2 additions & 0 deletions test/integration/fixtures/blocks/core__gallery.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2016/09/cropped-img_9054-1.jpg?w=190",
"alt": "Image gallery image",
"caption": "",
Expand All @@ -32,6 +33,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2017/09/cropped-l1001498-1.jpg?w=580",
"alt": "Image gallery image",
"caption": "",
Expand Down
2 changes: 2 additions & 0 deletions test/integration/fixtures/blocks/core__gallery__columns.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2016/09/cropped-img_9054-1.jpg?w=190",
"alt": "Image gallery image",
"caption": "",
Expand All @@ -32,6 +33,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2017/09/cropped-l1001498-1.jpg?w=580",
"alt": "Image gallery image",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "title",
"linkDestination": "none"
Expand All @@ -24,6 +25,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=",
"alt": "title",
"linkDestination": "none"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "title",
"caption": "",
Expand All @@ -26,6 +27,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=",
"alt": "title",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "title",
"caption": "",
Expand All @@ -24,6 +25,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=",
"alt": "title",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2016/09/cropped-img_9054-1.jpg?w=190",
"alt": "",
"caption": "",
Expand All @@ -26,6 +27,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2017/09/cropped-l1001498-1.jpg?w=580",
"alt": "",
"caption": "",
Expand All @@ -38,6 +40,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "https://sergioestevaofolio.files.wordpress.com/2017/05/cropped-l1005945-2-2.jpg?w=580",
"alt": "",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-682x1024.jpg",
"alt": "",
"caption": "",
Expand All @@ -28,6 +29,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1024x682.jpg",
"alt": "",
"caption": "",
Expand All @@ -42,6 +44,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/04/test-image-1024x683.jpg",
"alt": "",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-682x1024.jpg",
"alt": "",
"caption": "",
Expand All @@ -28,6 +29,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1024x682.jpg",
"alt": "",
"caption": "",
Expand All @@ -42,6 +44,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/04/test-image-1024x683.jpg",
"alt": "",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-682x1024.jpg",
"alt": "",
"caption": "",
Expand All @@ -32,6 +33,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1024x682.jpg",
"alt": "",
"caption": "",
Expand All @@ -46,6 +48,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/04/test-image-1024x683.jpg",
"alt": "",
"caption": "",
Expand Down Expand Up @@ -77,6 +80,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-682x1024.jpg",
"alt": "",
"caption": "",
Expand All @@ -91,6 +95,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1024x682.jpg",
"alt": "",
"caption": "",
Expand All @@ -105,6 +110,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "http://wptest.local/wp-content/uploads/2020/04/test-image-1024x683.jpg",
"alt": "",
"caption": "",
Expand Down
1 change: 1 addition & 0 deletions test/integration/fixtures/blocks/core__image.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "core/image",
"isValid": true,
"attributes": {
"align": "",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": "",
Expand Down

0 comments on commit 19c37f2

Please sign in to comment.