Skip to content

Commit

Permalink
Remove tests not needed
Browse files Browse the repository at this point in the history
you can now configure these as part of install
  • Loading branch information
tiniscule committed Apr 15, 2024
1 parent 16f36d5 commit ce94b79
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions supabase/tests/database/01-basejump-schema-tests.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BEGIN;
create extension "basejump-supabase_test_helpers" version '0.0.6';

select plan(24);
select plan(20);

select has_schema('basejump', 'Basejump schema should exist');

Expand All @@ -18,14 +18,6 @@ select columns_are('basejump', 'config',
Array ['enable_team_accounts', 'enable_personal_account_billing', 'enable_team_account_billing', 'billing_provider'],
'Basejump config table should have the correct columns');

select ok(basejump.is_set('enable_personal_account_billing')),
'Basejump config should have personal account billing enabled';
select ok(basejump.is_set('enable_team_accounts')), 'Basejump config should have team accounts enabled';
select ok((basejump.get_config() ->> 'enable_team_account_billing')::boolean = true,
'Basejump config should have team account billing enabled');
select ok(basejump.get_config() ->> 'billing_provider' = 'stripe',
'Basejump config should have stripe as the billing provider');


select function_returns('basejump', 'generate_token', Array ['integer'], 'text',
'Basejump generate_token function should exist');
Expand Down

0 comments on commit ce94b79

Please sign in to comment.