Seam SVN: r8089 - in branches/Seam_2_0/examples/seamspace: src/org/jboss/seam/example/seamspace/test and 1 other directory.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2008-04-30 20:08:50 -0400 (Wed, 30 Apr 2008)
New Revision: 8089
Modified:
branches/Seam_2_0/examples/seamspace/resources/import.sql
branches/Seam_2_0/examples/seamspace/src/org/jboss/seam/example/seamspace/test/RegisterTest.java
Log:
JBSEAM-2934
Modified: branches/Seam_2_0/examples/seamspace/resources/import.sql
===================================================================
--- branches/Seam_2_0/examples/seamspace/resources/import.sql 2008-04-30 19:51:32 UTC (rev 8088)
+++ branches/Seam_2_0/examples/seamspace/resources/import.sql 2008-05-01 00:08:50 UTC (rev 8089)
@@ -6,6 +6,7 @@
insert into MemberRole (roleid, name) values (1, 'user');
insert into MemberRole (roleid, name) values (2, 'admin');
+insert into MemberRoles (member_id, role_id) values (1, 1);
insert into MemberRoles (member_id, role_id) values (1, 2);
insert into MemberRoles (member_id, role_id) values (2, 1);
insert into MemberRoles (member_id, role_id) values (3, 1);
Modified: branches/Seam_2_0/examples/seamspace/src/org/jboss/seam/example/seamspace/test/RegisterTest.java
===================================================================
--- branches/Seam_2_0/examples/seamspace/src/org/jboss/seam/example/seamspace/test/RegisterTest.java 2008-04-30 19:51:32 UTC (rev 8088)
+++ branches/Seam_2_0/examples/seamspace/src/org/jboss/seam/example/seamspace/test/RegisterTest.java 2008-05-01 00:08:50 UTC (rev 8089)
@@ -29,7 +29,7 @@
setValue("#{newMember.firstName}", "Shane");
setValue("#{newMember.lastName}", "Bryzak");
setValue("#{newMember.memberName}", "shane123");
- setValue("#{register.username}", "sbryzak");
+ setValue("#{newMember.username}", "sbryzak");
setValue("#{register.password}", "secret");
setValue("#{register.confirm}", "secret");
setValue("#{register.gender}", "Male");
16 years, 8 months