Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Add Files folder to Media component and to "FileSystem local" adapter #43532

Open
wants to merge 19 commits into
base: 5.3-dev
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
test
  • Loading branch information
Fedik committed May 29, 2024
commit 6ee3fa0f16a19b5a0ee0cd564201476e282f2ce8
2 changes: 1 addition & 1 deletion tests/System/integration/api/com_media/Files.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('Test that media files API endpoint', () => {
cy.task('writeFile', { path: 'images/test-dir/override.jpg', content: '1' })
.then(() => cy.readFile('tests/System/data/com_media/test-image-1.jpg', 'binary'))
.then((data) => cy.api_patch(
'/media/files/local-files:/test-dir/override.jpg',
'/media/files/local-images:/test-dir/override.jpg',
{ path: 'local-images:/test-dir/override.jpg', content: Buffer.from(data, 'binary').toString('base64') },
)).then((response) => {
cy.wrap(response).its('body').its('data').its('attributes')
Expand Down