Merge pull request #943 from regnat/include-localhost-features

Cleanup the localhost-features test
This commit is contained in:
Graham Christensen 2021-04-29 07:26:50 -04:00 committed by GitHub
commit e1a761194f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -48,7 +48,6 @@ sub test_init {
my $nixconf = "$ENV{'NIX_CONF_DIR'}/nix.conf";
open(my $fh, '>', $nixconf) or die "Could not open file '$nixconf' $!";
print $fh "sandbox = false\n";
print $fh "system-features = test-system-feature\n";
print $fh $opts{'nix_config'} || "";
close $fh;

View file

@ -2,7 +2,11 @@ use feature 'unicode_strings';
use strict;
use Setup;
my %ctx = test_init();
my %ctx = test_init(
nix_config => q|
system-features = test-system-feature
|
);
require Hydra::Schema;
require Hydra::Model::DB;