mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 10:16:07 +02:00
Genericize "Contact Us" page
Parameterize integration, support and announcement email addresses and contact phone number, make static parameters flow through the system in a consistent manner. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136183813
This commit is contained in:
parent
6a4088a8b6
commit
84bbb9a7c0
16 changed files with 177 additions and 65 deletions
|
@ -57,7 +57,11 @@ function setUp() {
|
|||
clientId: test.testClientId,
|
||||
showPaymentLink: false,
|
||||
logoFilename: 'logo.png',
|
||||
productName: 'Nomulus'
|
||||
productName: 'Nomulus',
|
||||
integrationEmail: 'integration@example.com',
|
||||
supportEmail: 'support@example.com',
|
||||
announcementsEmail: 'announcement@example.com',
|
||||
supportPhoneNumber: '+1 (888) 555 0123'
|
||||
});
|
||||
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
|
||||
registry.registrar.ConsoleTestUtil.setup(test);
|
||||
|
@ -75,7 +79,7 @@ function tearDown() {
|
|||
function testView() {
|
||||
registry.registrar.ConsoleTestUtil.visit(test, {
|
||||
path: 'security-settings',
|
||||
testXsrfToken: test.testXsrfToken,
|
||||
xsrfToken: test.testXsrfToken,
|
||||
testClientId: test.testClientId
|
||||
});
|
||||
registry.testing.assertReqMockRsp(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue