HomeGRNET

Add policy fixture on test environment

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

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
vitsalisSep 13 2018, 12:29 PM
Pushed
vitsalisSep 13 2018, 12:29 PM
Differential Revision
Restricted Differential Revision
Parents
rWEBDNS86f29ea914e6: Require factory girls and fix broken factory
Branches
Unknown
Tags
Unknown