-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent dynamic dates from being included in test suite. (#188)
* Prevent dynamic dates from being included in test suite. - Info for policy and roles returns created date. - The simple solution is to filter those results out of the suite. * Add new testsuite results. * policy list_member also includes Created info. - This is the date, and will differ in tests. * And update the results of the test suite again... :( * Also remove Created from policy info myrole.
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,7 +98,7 @@ | |
} | ||
}, | ||
{ | ||
"output": "Zone: example.org\n Nameservers: hostname TTL\n ns1.example.org <not set>\nPrimary ns: ns1.example.org\nEmail: [email protected]\nSerialnumber: 3231206000\nRefresh: 10800\nRetry: 3600\nExpire: 1814400\nSOA TTL: 43200\nDefault TTL: 43200" | ||
"output": "Zone: example.org\n Nameservers: hostname TTL\n ns1.example.org <not set>\nPrimary ns: ns1.example.org\nEmail: [email protected]\nSerialnumber: 3231208000\nRefresh: 10800\nRetry: 3600\nExpire: 1814400\nSOA TTL: 43200\nDefault TTL: 43200" | ||
}, | ||
{ | ||
"command": "zone list -forward\n" | ||
|
@@ -8431,7 +8431,7 @@ | |
"output": "OK: : Added atom 'orange' to role 'fruit'" | ||
}, | ||
{ | ||
"command": "policy info orange\n" | ||
"command": "policy info orange |! Created" | ||
}, | ||
{ | ||
"method": "GET", | ||
|
@@ -8456,10 +8456,10 @@ | |
} | ||
}, | ||
{ | ||
"output": "Name: orange\nCreated: 2018-07-07\nDescription: Round and orange\nRoles where this atom is a member:\n fruit" | ||
"output": "Name: orange\nDescription: Round and orange\nRoles where this atom is a member:\n fruit" | ||
}, | ||
{ | ||
"command": "policy info fruit\n" | ||
"command": "policy info fruit |! Created" | ||
}, | ||
{ | ||
"method": "GET", | ||
|
@@ -8501,10 +8501,10 @@ | |
} | ||
}, | ||
{ | ||
"output": "Name: fruit\nCreated: 2023-12-06\nDescription: 5 a day\nAtom members:\n apple\n orange\nLabels:\n None" | ||
"output": "Name: fruit\nDescription: 5 a day\nAtom members:\n apple\n orange\nLabels:\n None" | ||
}, | ||
{ | ||
"command": "policy list_members fruit\n" | ||
"command": "policy list_members fruit |! Created" | ||
}, | ||
{ | ||
"method": "GET", | ||
|
@@ -15243,7 +15243,7 @@ | |
"output": "Role Description Labels \nmyrole This is the description postit " | ||
}, | ||
{ | ||
"command": "policy info myrole\n" | ||
"command": "policy info myrole |! Created" | ||
}, | ||
{ | ||
"method": "GET", | ||
|
@@ -15290,7 +15290,7 @@ | |
} | ||
}, | ||
{ | ||
"output": "Name: myrole\nCreated: 2023-12-06\nDescription: This is the description\nAtom members:\n None\nLabels:\n postit" | ||
"output": "Name: myrole\nDescription: This is the description\nAtom members:\n None\nLabels:\n postit" | ||
}, | ||
{ | ||
"command": "label info postit\n" | ||
|