Skip to content

Commit

Permalink
Issue #44 - Smoke test added for specific example from #44
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinobee committed Aug 23, 2015
1 parent 9bf2faf commit e3acae0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/Build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<LibFiles Include="Sitecore.Zip.dll" />
</ItemGroup>

<Target Name="RunSmokeTests" DependsOnTargets="Build">
<Target Name="RunSmokeTests" >
<PropertyGroup>
<SitecoreShipPackagePath>$(ProjectRoot)\build\sitecore packages\SitecoreShip.zip</SitecoreShipPackagePath>
<TestPackagePath>$(ProjectRoot)\tests\acceptance-test\01-package.update</TestPackagePath>
Expand Down Expand Up @@ -70,6 +70,9 @@
<Exec Command="$(CurlExePath) -i $(TestWebsiteUrl)services/publish/lastcompleted/master/web/en" />

<Exec Command="$(CurlExePath) -i -X POST $(TestWebsiteUrl)services/publish/listofitems --header &quot;Content-Type: application/x-www-form-urlencoded&quot; --header &quot;Content-Length: 0&quot; -H &quot;Accept:application/json&quot;" />

<!-- Issue #44 - 404, when trying to publish a list of items https://github.com/kevinobee/Sitecore.Ship/issues/44 -->
<Exec Command="$(CurlExePath) -i -H &quot;Content-Type: application/json&quot; -X POST -d &quot;{\&quot;Items\&quot;:[{\&quot;itemId\&quot;:\&quot;662a3670-2671-414c-97e5-f9b30473cdd7\&quot;,\&quot;PublishChildren\&quot;:\&quot;false\&quot;},{\&quot;itemId\&quot;:\&quot;a49599a5-1b25-4efe-82aa-fa1af0993919\&quot;,\&quot;PublishChildren\&quot;:\&quot;false\&quot;},{\&quot;itemId\&quot;:\&quot;377cb37e-2b00-417e-bbec-872b4ef9e9a0\&quot;,\&quot;PublishChildren\&quot;:\&quot;false\&quot;},{\&quot;itemId\&quot;:\&quot;9502a1e1-7bdd-4b3e-a234-a488ba871889\&quot;,\&quot;PublishChildren\&quot;:\&quot;false\&quot;}],\&quot;TargetDatabases\&quot;:[\&quot;web\&quot;],\&quot;TargetLanguages\&quot;:[\&quot;en\&quot;]}&quot; http://ship/services/publish/listofitems" />
</Target>

</Project>

0 comments on commit e3acae0

Please sign in to comment.