Commit 17feedd
committed
BUG: Solved Travis CI unit testing error "Invalid resource type archive at /home/travis/build/Chassis/puppet-wp/spec/fixtures/modules/wp/manifests/cli.pp:22". This is caused by the module archive missing in the execution of the unit tests. I've added support for specifying external modules in the .fixtures.yml file. This file is loaded by the puppetlabs_spec_helper gem. This is the standard used in PDK for testing with external modules. This should solve the errors. I've also ran the same changes in testing code on the original code and all tests pass fine then as well.
1 parent bbf7316 commit 17feedd
4 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments