|
Wersja 919, 0.7 KB
(wprowadzona przez alina, 16 years temu)
|
|
re #215 testy dla controlera merchant, dodanie do linku powrotnego parametru ordernumber, dodanie komunikatu do akcji fail,
|
| Line | |
|---|
| 1 | using System;
|
|---|
| 2 | using System.Collections.Generic;
|
|---|
| 3 | using System.Linq;
|
|---|
| 4 | using System.Text;
|
|---|
| 5 | using Platnosci.Core.Interface;
|
|---|
| 6 |
|
|---|
| 7 | namespace Platnosci.Tests.Web
|
|---|
| 8 | {
|
|---|
| 9 | public class FakeTranslate: ITranslate
|
|---|
| 10 | {
|
|---|
| 11 | public string TranslateStr(string className, string keyName)
|
|---|
| 12 | {
|
|---|
| 13 | if (keyName == "weryfikacja") return "weryfikacja";
|
|---|
| 14 | else if (keyName == "brakdanych") return "brakdanych";
|
|---|
| 15 | else if (keyName == "zaplacono") return "zaplacono";
|
|---|
| 16 | else if (keyName == "err_imieWK") return "imie";
|
|---|
| 17 | else if (keyName == "err_nazwiskoWK") return "nazwisko";
|
|---|
| 18 | else if (keyName == "error_hash") return "error_hash";
|
|---|
| 19 |
|
|---|
| 20 | return "";
|
|---|
| 21 | }
|
|---|
| 22 | }
|
|---|
| 23 | }
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.