Skip to content

Commit

Permalink
fix: verify response content type is taxii+json not stix+json
Browse files Browse the repository at this point in the history
  • Loading branch information
seansica committed Sep 10, 2024
1 parent d5334fa commit e962831
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bruno/Get A Collection.bru
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down
2 changes: 1 addition & 1 deletion bruno/Get API Root Information.bru
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down
2 changes: 1 addition & 1 deletion bruno/Get An Object.bru
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down
2 changes: 1 addition & 1 deletion bruno/Get Collections.bru
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down
2 changes: 1 addition & 1 deletion bruno/Get Object Manifests.bru
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down
2 changes: 1 addition & 1 deletion bruno/Get Object Versions.bru
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down
2 changes: 1 addition & 1 deletion bruno/Get Objects.bru
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down
2 changes: 1 addition & 1 deletion bruno/Server Discovery.bru
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tests {

test("Verify response content type", function() {
const contentType = res.getHeader('content-type');
expect(contentType).to.include('application/stix+json');
expect(contentType).to.include('application/taxii+json');
expect(contentType).to.include('version=2.1');
});

Expand Down

0 comments on commit e962831

Please sign in to comment.