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

Add BeforeSuite file shiv. #2015

Closed
wants to merge 1 commit into from

Conversation

dkinzer
Copy link

@dkinzer dkinzer commented Jul 19, 2017

REF CIVIC-6610

When stage file proxy is enabled we need to make sure some required files are present in public://
By adding a BeforeSuite step that copies these files from a site to the local
environment, we fix errors that arise from files not being present in the
testing environment.

QA Steps

On a local version of devy with this patch

  • Enable the stage_file_proxy module
  • Verify that config.yml default:stage_file_proxy_origin is set to devy prod or set.
  • Verify that configy.yml default:stage_file_proxy_files points to default_log.png or set it
  • Remove default_log.png from public:// files directory
  • Remove all files like dkan-topic.* from public:// files directory
  • Verify that the following test does not fail: dkan/test/features/theme.admin.feature:16
  • Verify that the following test does not fail: dkan
  • dkan/test/features/topics.feature:48

REF CIVIC-6610

When stage file proxy is enabled we need to make sure some required files are present in public://
By adding a BeforeSuite step that copies these files from a site to the local
environment, we fix errors that arise from files not being present in the
testing environment.
@dafeder
Copy link
Member

dafeder commented Jul 20, 2017

This was re-rolled in #2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants