Emmanuel BENOîT
ba6a1e2b41
* Added plan() instead of no_plan() where necessary * Removed junk from dirty tests system self-check
15 lines
347 B
PL/PgSQL
15 lines
347 B
PL/PgSQL
/*
|
|
* Dirty test system self-check
|
|
*
|
|
* Insert an address, it should exist during the main test.
|
|
*/
|
|
BEGIN;
|
|
SELECT plan( 1 );
|
|
|
|
SELECT diag_test_name( 'Dirty test system self-check - prepare.sql was executed' );
|
|
SELECT is( COUNT(*)::INT , 1 )
|
|
FROM users.addresses
|
|
WHERE address = 'prepare@example.org';
|
|
|
|
SELECT * FROM finish( );
|
|
ROLLBACK;
|