HomeGRNET

Add policy fixture on test environment
85138eda5dc8Unpublished

Authored by vitsalis on Aug 21 2018, 5:51 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add policy fixture on test environment

Summary: Tests didn't work because the dnssec_parent_authority variable was pointing to a parent authority that was only created when running tests with the RAILS_ENV environment variable set to 'test'. Setting this variable to 'test', leads to the dnssec_policies table to be empty, meaning that we need fixtures for the test database.

Test Plan: none

Reviewers: #servers

Subscribers: #servers

Differential Revision: https://repo.grnet.gr/D44

Details

Committed
vitsalisAug 21 2018, 5:55 PM
Pushed
vitsalisAug 21 2018, 5:55 PM
Differential Revision
Restricted Differential Revision
Parents
rWEBDNS69f43818d865: Require factory girls and fix broken factory
Branches
Unknown
Tags
Unknown
References
fixtures