MCPcopy Create free account
hub / github.com/dolthub/doltgresql / authTestAssertAsBasic

Function authTestAssertAsBasic

testing/go/auth_test.go:1596–1604  ·  view source on GitHub ↗

authTestAssertAsBasic returns a ScriptTestAssertion for the given |query|, |expectedResultSet|, and/or |expectedErr| using authTestBasicUser.

(query string, expected []sql.Row, expectedErr string)

Source from the content-addressed store, hash-verified

1594// authTestAssertAsBasic returns a ScriptTestAssertion for the given |query|, |expectedResultSet|, and/or |expectedErr| using
1595// authTestBasicUser.
1596func authTestAssertAsBasic(query string, expected []sql.Row, expectedErr string) ScriptTestAssertion {
1597 return ScriptTestAssertion{
1598 Username: authTestBasicUser,
1599 Password: authTestBasicPass,
1600 Query: query,
1601 Expected: expected,
1602 ExpectedErr: expectedErr,
1603 }
1604}
1605
1606// authTestSkipAssertAsBasic skips the returned assertion from authTestAssertAsBasic.
1607func authTestSkipAssertAsBasic(query string, expected []sql.Row, expectedErr string) ScriptTestAssertion {

Callers 2

TestAuthDoltProceduresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected