A successful OAuth2 token

* TestCatalogInit.cs and TestBrands.cs: do build unit test only when TEST is defined.
* Web.csproj: useless change to .Net 4.5.1 framework
* GoogleController.cs: A successful OAuth2 token from Google! thanks
  to curl.
This commit is contained in:
Paul Schneider 2014-12-10 03:34:09 +01:00
commit edd160ae75
4 changed files with 52 additions and 40 deletions

View file

@ -1,3 +1,5 @@
#if TEST
using NUnit.Framework;
using System;
using SalesCatalog.Model;
@ -29,3 +31,4 @@ namespace SalesCatalog.Tests
}
}
#endif

View file

@ -1,3 +1,5 @@
#if TEST
using System;
using NUnit.Framework;
using SalesCatalog.XmlImplementation;
@ -104,3 +106,4 @@ namespace SalesCatalog.Tests
}
}
#endif