[mb-commits] branch, beta, updated. Always render disambiguations as string (never as json null), update json / ws...

MusicBrainz Git Server <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1TTY8P-0004QS-Sg@wiley>
The branch, beta has been updated
       via  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=0daca74fc9bfbbeca8aa185e9c217efa8e0cf97b (commit)
      from  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=d68adec52a19616423c76e782c190aea1d46c56d (commit)

Summary of changes:
 .../Server/Controller/WS/2/JSON/BrowseWorks.pm     |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0daca74fc9bfbbeca8aa185e9c217efa8e0cf97b
Author: warp <[email protected]>
Date:   Wed Oct 31 14:14:00 2012 +0100

    Always render disambiguations as string (never as json null), update json /ws/2 webservice BrowseWorks test.

diff --git a/t/lib/t/MusicBrainz/Server/Controller/WS/2/JSON/BrowseWorks.pm b/t/lib/t/MusicBrainz/Server/Controller/WS/2/JSON/BrowseWorks.pm
index 9f4cd8e..78b43eb 100644
--- a/t/lib/t/MusicBrainz/Server/Controller/WS/2/JSON/BrowseWorks.pm
+++ b/t/lib/t/MusicBrainz/Server/Controller/WS/2/JSON/BrowseWorks.pm
@@ -22,26 +22,31 @@ test 'browse works via artist (first page)' => sub {
                 {
                     id => "25c7c80f-a624-3b3e-b643-4204b05cb447",
                     title => "On My Bus",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "2734cd31-4bab-3bf6-a758-c5d94ad957bb",
                     title => "Marbles",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "294f16fe-e123-3634-a0f4-03953e111321",
                     title => "Busy Working",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "37814c05-f7ff-308d-a339-21570bc56003",
                     title => "Be Rude to Your School",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "3a62a9f7-1365-32aa-9da8-3e0ef1f2b0ca",
                     title => "Bibi Plone",
+                    disambiguation => "",
                     iswcs => [],
                 }]
         });
@@ -61,26 +66,31 @@ test 'browse works via artist (second page)' => sub {
                 {
                     id => "4290c4aa-f538-31d8-b502-cb01fc7fc5af",
                     title => "Top & Low Rent",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "482530c1-a2ab-32e8-be43-ea5240aa7913",
                     title => "Plock",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "93836f17-7646-374e-a679-455429162c20",
                     title => "Press a Key",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "e67f54be-a68b-351d-9fbf-57468e61fd95",
                     title => "Summer Plays Out",
+                    disambiguation => "",
                     iswcs => [],
                 },
                 {
                     id => "f4f581d8-50e0-3886-bcd3-610187821bcd",
                     title => "The Greek Alphabet",
+                    disambiguation => "",
                     iswcs => [],
                 }]
         });

-----------------------------------------------------------------------


hooks/post-receive
-- 
mb_server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.