Skip to content

Commit

Permalink
chore: more IT fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Dec 12, 2023
1 parent 0890b52 commit 30ab212
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions flipt-client-node/src/evaluation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('variant failure', () => {
expect(variant.result).toBeNull();
expect(variant.status).toEqual('failure');
expect(variant.error_message).toEqual(
'failed to get flag information default/nonexistent'
'invalid request: failed to get flag information default/nonexistent'
);
});

Expand All @@ -78,6 +78,6 @@ test('boolean failure', () => {
expect(boolean.result).toBeNull();
expect(boolean.status).toEqual('failure');
expect(boolean.error_message).toEqual(
'failed to get flag information default/nonexistent'
'invalid request: failed to get flag information default/nonexistent'
);
});
6 changes: 4 additions & 2 deletions flipt-client-python/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def test_failure_variant(self):
)
self.assertIsNone(variant.result)
self.assertEqual(
variant.error_message, "failed to get flag information default/nonexistent"
variant.error_message,
"invalid request: failed to get flag information default/nonexistent",
)
self.assertEqual("failure", variant.status)

Expand All @@ -56,7 +57,8 @@ def test_failure_boolean(self):
)
self.assertIsNone(boolean.result)
self.assertEqual(
boolean.error_message, "failed to get flag information default/nonexistent"
boolean.error_message,
"invalid request: failed to get flag information default/nonexistent",
)
self.assertEqual("failure", boolean.status)

Expand Down
4 changes: 2 additions & 2 deletions flipt-client-ruby/spec/evaluation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
expect(resp).to_not be_nil
expect(resp['result']).to be_nil
expect(resp['status']).to eq('failure')
expect(resp['error_message']).to eq('failed to get flag information default/nonexistent')
expect(resp['error_message']).to eq('invalid request: failed to get flag information default/nonexistent')
end
end

Expand All @@ -65,7 +65,7 @@
expect(resp).to_not be_nil
expect(resp['result']).to be_nil
expect(resp['status']).to eq('failure')
expect(resp['error_message']).to eq('failed to get flag information default/nonexistent')
expect(resp['error_message']).to eq('invalid request: failed to get flag information default/nonexistent')
end
end
end

0 comments on commit 30ab212

Please sign in to comment.