Skip to content

Commit 113382f

Browse files
committed
Fixed unit tests.
1 parent 1a5da00 commit 113382f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/migration_test/test_migration.pkb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ end;
9494
dbms_output.put_line('register_ut_v2_packages');
9595
utplsql.run('UT_BETWNSTR');
9696
utSuite.add ('MIGRATION');
97-
utPackage.add('MIGRATION', 'UT_BETWNSTR_NEW');
97+
utPackage.add('MIGRATION', 'UT_BETWNSTR_NEW', samepackage_in => true);
9898
utplsql.testsuite ('MIGRATION');
9999
commit;
100100
end;
@@ -157,7 +157,7 @@ end;
157157
--assert
158158
l_package := dbms_metadata.get_ddl('PACKAGE','UT_BETWNSTR_NEW');
159159
ut.expect( l_package ).to_match('-- %suite');
160-
ut.expect( l_package ).to_match('-- %suitepath(MIGRATION)');
160+
ut.expect( l_package ).to_match('-- %suitepath\(MIGRATION\)');
161161
ut.expect( l_package ).to_match('-- %test');
162162
ut.expect( l_package ).to_match('-- %beforeall');
163163
ut.expect( l_package ).to_match('-- %afterall');

test/migration_test/test_migration.pks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ create or replace package test_migration as
3030
--%beforetest(register_ut_v2_packages)
3131
procedure ut_v2_migration_one_pkg;
3232

33-
--%test(Migrates a registered suite packages)
33+
--%test(Migrates a registered suite)
3434
--%beforetest(register_ut_v2_packages)
3535
procedure ut_v2_migration_one_suite;
3636

0 commit comments

Comments
 (0)