Verify inventory after line_item is saved
Verify inventory after line_item is saved

We need the line item id when creating inventory units.

Part of #3991

TimurTarasenko/spree,zamiang/spree,bonobos/solidus,alvinjean/spree,AgilTec/spree,quentinuys/spree,trigrass2/spree,StemboltHQ/spree,gregoryrikson/spree-sample,Boomkat/spree,yushine/spree,NerdsvilleCEO/spree,volpejoaquin/spree,Nevensoft/spree,tomash/spree,firman/spree,tailic/spree,imella/spree,shioyama/spree,bjornlinder/Spree,rajeevriitm/spree,Boomkat/spree,mindvolt/spree,tesserakt/clean_spree,knuepwebdev/FloatTubeRodHolders,groundctrl/spree,CJMrozek/spree,hoanghiep90/spree,RatioClothing/spree,pjmj777/spree,Mayvenn/spree,vmatekole/spree,cutefrank/spree,archSeer/spree,priyank-gupta/spree,quentinuys/spree,SadTreeFriends/spree,Hates/spree,omarsar/spree,patdec/spree,surfdome/spree,freerunningtech/spree,Mayvenn/spree,DarkoP/spree,njerrywerry/spree,trigrass2/spree,sfcgeorge/spree,bricesanchez/spree,CiscoCloud/spree,lyzxsc/spree,ckk-scratch/solidus,yiqing95/spree,njerrywerry/spree,Lostmyname/spree,gregoryrikson/spree-sample,builtbybuffalo/spree,pervino/solidus,shaywood2/spree,pulkit21/spree,Senjai/spree,KMikhaylovCTG/spree,groundctrl/spree,woboinc/spree,robodisco/spree,delphsoft/spree-store-ballchair,Senjai/spree,jordan-brough/spree,hifly/spree,scottcrawford03/solidus,raow/spree,odk211/spree,lsirivong/spree,welitonfreitas/spree,alepore/spree,grzlus/spree,JDutil/spree,JDutil/spree,cutefrank/spree,dafontaine/spree,reidblomquist/spree,robodisco/spree,hoanghiep90/spree,jsurdilla/solidus,LBRapid/spree,KMikhaylovCTG/spree,jeffboulet/spree,agient/agientstorefront,RatioClothing/spree,abhishekjain16/spree,mleglise/spree,scottcrawford03/solidus,camelmasa/spree,patdec/spree,APohio/spree,siddharth28/spree,azranel/spree,AgilTec/spree,sideci-sample/sideci-sample-spree,Machpowersystems/spree_mach,yomishra/pce,karlitxo/spree,jimblesm/spree,keatonrow/spree,woboinc/spree,pjmj777/spree,yiqing95/spree,nooysters/spree,gautamsawhney/spree,patdec/spree,bonobos/solidus,thogg4/spree,Hawaiideveloper/shoppingcart,vinayvinsol/spree,lsirivong/spree,mindvolt/spree,caiqinghua/spree,sunny2601/spree,Hates/spree,assembledbrands/spree,jordan-brough/solidus,hoanghiep90/spree,vinsol/spree,Ropeney/spree,surfdome/spree,locomotivapro/spree,tancnle/spree,bjornlinder/Spree,grzlus/solidus,freerunningtech/spree,CJMrozek/spree,StemboltHQ/spree,rbngzlv/spree,raow/spree,beni55/spree,gautamsawhney/spree,orenf/spree,Hates/spree,jeffboulet/spree,lsirivong/spree,surfdome/spree,DynamoMTL/spree,volpejoaquin/spree,PhoenixTeam/spree_phoenix,yomishra/pce,dotandbo/spree,Engeltj/spree,kewaunited/spree,useiichi/spree,dandanwei/spree,shioyama/spree,watg/spree,hifly/spree,ujai/spree,wolfieorama/spree,derekluo/spree,grzlus/solidus,pervino/solidus,thogg4/spree,edgward/spree,xuewenfei/solidus,Nevensoft/spree,odk211/spree,Senjai/solidus,pulkit21/spree,joanblake/spree,camelmasa/spree,vinsol/spree,Lostmyname/spree,carlesjove/spree,vulk/spree,kewaunited/spree,madetech/spree,reidblomquist/spree,jspizziri/spree,berkes/spree,fahidnasir/spree,AgilTec/spree,madetech/spree,pervino/spree,adaddeo/spree,jaspreet21anand/spree,ckk-scratch/solidus,NerdsvilleCEO/spree,siddharth28/spree,TrialGuides/spree,Mayvenn/spree,CiscoCloud/spree,zamiang/spree,dotandbo/spree,keatonrow/spree,reidblomquist/spree,mindvolt/spree,ramkumar-kr/spree,Engeltj/spree,DarkoP/spree,maybii/spree,fahidnasir/spree,bonobos/solidus,rakibulislam/spree,nooysters/spree,cutefrank/spree,vcavallo/spree,calvinl/spree,agient/agientstorefront,piousbox/spree,brchristian/spree,camelmasa/spree,DarkoP/spree,calvinl/spree,JuandGirald/spree,Arpsara/solidus,jasonfb/spree,devilcoders/solidus,scottcrawford03/solidus,bricesanchez/spree,devilcoders/solidus,abhishekjain16/spree,agient/agientstorefront,assembledbrands/spree,tailic/spree,alepore/spree,delphsoft/spree-store-ballchair,StemboltHQ/spree,Arpsara/solidus,patdec/spree,alejandromangione/spree,azclick/spree,APohio/spree,watg/spree,Senjai/solidus,dotandbo/spree,RatioClothing/spree,radarseesradar/spree,NerdsvilleCEO/spree,bricesanchez/spree,beni55/spree,knuepwebdev/FloatTubeRodHolders,project-eutopia/spree,madetech/spree,Hates/spree,SadTreeFriends/spree,jspizziri/spree,rakibulislam/spree,vinsol/spree,pulkit21/spree,tesserakt/clean_spree,tomash/spree,SadTreeFriends/spree,raow/spree,orenf/spree,piousbox/spree,imella/spree,jparr/spree,PhoenixTeam/spree_phoenix,vulk/spree,jparr/spree,keatonrow/spree,dandanwei/spree,devilcoders/solidus,firman/spree,reinaris/spree,maybii/spree,degica/spree,Ropeney/spree,moneyspyder/spree,locomotivapro/spree,keatonrow/spree,jsurdilla/solidus,jeffboulet/spree,bonobos/solidus,welitonfreitas/spree,rakibulislam/spree,Migweld/spree,Boomkat/spree,siddharth28/spree,vulk/spree,Migweld/spree,welitonfreitas/spree,FadliKun/spree,ahmetabdi/spree,caiqinghua/spree,APohio/spree,athal7/solidus,Hawaiideveloper/shoppingcart,athal7/solidus,groundctrl/spree,net2b/spree,alvinjean/spree,Kagetsuki/spree,vinayvinsol/spree,jparr/spree,jparr/spree,degica/spree,Senjai/solidus,Arpsara/solidus,Engeltj/spree,derekluo/spree,dafontaine/spree,archSeer/spree,Hawaiideveloper/shoppingcart,degica/spree,rajeevriitm/spree,miyazawatomoka/spree,tancnle/spree,progsri/spree,adaddeo/spree,kewaunited/spree,alvinjean/spree,shekibobo/spree,yiqing95/spree,Lostmyname/spree,CiscoCloud/spree,sliaquat/spree,PhoenixTeam/spree_phoenix,ahmetabdi/spree,knuepwebdev/FloatTubeRodHolders,lyzxsc/spree,ayb/spree,JuandGirald/spree,maybii/spree,tancnle/spree,shioyama/spree,adaddeo/spree,agient/agientstorefront,PhoenixTeam/spree_phoenix,forkata/solidus,priyank-gupta/spree,FadliKun/spree,caiqinghua/spree,devilcoders/solidus,wolfieorama/spree,athal7/solidus,orenf/spree,Kagetsuki/spree,sfcgeorge/spree,biagidp/spree,gautamsawhney/spree,quentinuys/spree,moneyspyder/spree,gregoryrikson/spree-sample,derekluo/spree,raow/spree,zaeznet/spree,jasonfb/spree,piousbox/spree,karlitxo/spree,grzlus/spree,trigrass2/spree,jordan-brough/solidus,abhishekjain16/spree,Migweld/spree,orenf/spree,Ropeney/spree,nooysters/spree,pervino/spree,jsurdilla/solidus,sunny2601/spree,thogg4/spree,rbngzlv/spree,Nevensoft/spree,imella/spree,ahmetabdi/spree,kewaunited/spree,vcavallo/spree,softr8/spree,zamiang/spree,volpejoaquin/spree,siddharth28/spree,beni55/spree,wolfieorama/spree,moneyspyder/spree,radarseesradar/spree,grzlus/spree,biagidp/spree,lyzxsc/spree,shekibobo/spree,berkes/spree,CJMrozek/spree,sfcgeorge/spree,JDutil/spree,alejandromangione/spree,sideci-sample/sideci-sample-spree,ujai/spree,firman/spree,softr8/spree,tesserakt/clean_spree,adaddeo/spree,vinayvinsol/spree,useiichi/spree,forkata/solidus,yushine/spree,pervino/solidus,robodisco/spree,tailic/spree,rakibulislam/spree,vinayvinsol/spree,zaeznet/spree,omarsar/spree,azclick/spree,sfcgeorge/spree,groundctrl/spree,FadliKun/spree,jordan-brough/solidus,carlesjove/spree,tomash/spree,yomishra/pce,karlitxo/spree,JuandGirald/spree,xuewenfei/solidus,jspizziri/spree,jsurdilla/solidus,vmatekole/spree,ckk-scratch/solidus,omarsar/spree,azclick/spree,progsri/spree,odk211/spree,berkes/spree,grzlus/solidus,priyank-gupta/spree,locomotivapro/spree,Senjai/spree,Migweld/spree,xuewenfei/solidus,DarkoP/spree,LBRapid/spree,Lostmyname/spree,nooysters/spree,vcavallo/spree,athal7/solidus,gautamsawhney/spree,zaeznet/spree,jasonfb/spree,dafontaine/spree,ayb/spree,karlitxo/spree,TimurTarasenko/spree,richardnuno/solidus,calvinl/spree,vmatekole/spree,Machpowersystems/spree_mach,jimblesm/spree,SadTreeFriends/spree,fahidnasir/spree,project-eutopia/spree,shekibobo/spree,jspizziri/spree,TimurTarasenko/spree,Hawaiideveloper/shoppingcart,watg/spree,richardnuno/solidus,softr8/spree,Kagetsuki/spree,delphsoft/spree-store-ballchair,abhishekjain16/spree,beni55/spree,firman/spree,builtbybuffalo/spree,alvinjean/spree,piousbox/spree,vinsol/spree,ramkumar-kr/spree,sliaquat/spree,njerrywerry/spree,reinaris/spree,mindvolt/spree,vulk/spree,quentinuys/spree,locomotivapro/spree,carlesjove/spree,TrialGuides/spree,pervino/spree,jimblesm/spree,LBRapid/spree,shaywood2/spree,net2b/spree,wolfieorama/spree,freerunningtech/spree,edgward/spree,mleglise/spree,sideci-sample/sideci-sample-spree,fahidnasir/spree,ckk-scratch/solidus,surfdome/spree,ahmetabdi/spree,rbngzlv/spree,jordan-brough/spree,hoanghiep90/spree,forkata/solidus,azranel/spree,delphsoft/spree-store-ballchair,lsirivong/solidus,Arpsara/solidus,jasonfb/spree,yushine/spree,lsirivong/solidus,dotandbo/spree,progsri/spree,sliaquat/spree,azranel/spree,sunny2601/spree,zamiang/spree,reidblomquist/spree,sunny2601/spree,builtbybuffalo/spree,NerdsvilleCEO/spree,omarsar/spree,lsirivong/solidus,maybii/spree,JDutil/spree,APohio/spree,miyazawatomoka/spree,CiscoCloud/spree,grzlus/spree,joanblake/spree,jordan-brough/solidus,hifly/spree,Machpowersystems/spree_mach,Senjai/solidus,cutefrank/spree,edgward/spree,jaspreet21anand/spree,xuewenfei/solidus,miyazawatomoka/spree,dandanwei/spree,richardnuno/solidus,vmatekole/spree,DynamoMTL/spree,miyazawatomoka/spree,tesserakt/clean_spree,joanblake/spree,grzlus/solidus,net2b/spree,project-eutopia/spree,radarseesradar/spree,Kagetsuki/spree,joanblake/spree,alejandromangione/spree,derekluo/spree,vcavallo/spree,assembledbrands/spree,dafontaine/spree,Mayvenn/spree,lsirivong/spree,pervino/solidus,richardnuno/solidus,alepore/spree,pervino/spree,zaeznet/spree,shaywood2/spree,azranel/spree,TimurTarasenko/spree,builtbybuffalo/spree,njerrywerry/spree,Nevensoft/spree,priyank-gupta/spree,dandanwei/spree,useiichi/spree,woboinc/spree,gregoryrikson/spree-sample,Ropeney/spree,brchristian/spree,net2b/spree,TrialGuides/spree,rajeevriitm/spree,bjornlinder/Spree,robodisco/spree,ramkumar-kr/spree,ujai/spree,trigrass2/spree,thogg4/spree,KMikhaylovCTG/spree,lyzxsc/spree,archSeer/spree,TrialGuides/spree,tomash/spree,moneyspyder/spree,mleglise/spree,brchristian/spree,pulkit21/spree,archSeer/spree,KMikhaylovCTG/spree,calvinl/spree,progsri/spree,berkes/spree,Engeltj/spree,volpejoaquin/spree,caiqinghua/spree,JuandGirald/spree,yiqing95/spree,camelmasa/spree,brchristian/spree,hifly/spree,biagidp/spree,shekibobo/spree,madetech/spree,jimblesm/spree,odk211/spree,reinaris/spree,reinaris/spree,ayb/spree,pjmj777/spree,scottcrawford03/solidus,shaywood2/spree,lsirivong/solidus,ramkumar-kr/spree,DynamoMTL/spree,useiichi/spree,softr8/spree,edgward/spree,jaspreet21anand/spree,project-eutopia/spree,tancnle/spree,ayb/spree,yushine/spree,rbngzlv/spree,forkata/solidus,alejandromangione/spree,radarseesradar/spree,jeffboulet/spree,azclick/spree,rajeevriitm/spree,jordan-brough/spree,carlesjove/spree,CJMrozek/spree,jaspreet21anand/spree,sliaquat/spree,DynamoMTL/spree,Boomkat/spree,AgilTec/spree,mleglise/spree,welitonfreitas/spree,FadliKun/spree