Skip to content

Commit 6f10624

Browse files
committed
test case update for revel#1057
1 parent 50a3a32 commit 6f10624

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fakeapp_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package revel
22

33
import (
4+
"io/ioutil"
45
"log"
56
"os"
67
"path/filepath"
@@ -60,7 +61,7 @@ func startFakeBookingApp() {
6061
Init("prod", "github.com/revel/revel/testdata", "")
6162

6263
// Disable logging.
63-
TRACE = log.New(os.Stderr, "", 0)
64+
TRACE = log.New(ioutil.Discard, "", 0)
6465
INFO = TRACE
6566
WARN = TRACE
6667
ERROR = TRACE
@@ -80,7 +81,7 @@ func startFakeBookingApp() {
8081
Args: []*MethodArg{
8182
{"id", reflect.TypeOf((*int)(nil))},
8283
},
83-
RenderArgNames: map[int][]string{29: {"title", "hotel"}},
84+
RenderArgNames: map[int][]string{30: {"title", "hotel"}},
8485
},
8586
{
8687
Name: "Book",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy