<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>at_yasu</author_name>
  <author_url>https://blog.hatena.ne.jp/at_yasu/</author_url>
  <blog_title>at_yasu's blog</blog_title>
  <blog_url>https://atys.hateblo.jp/</blog_url>
  <categories>
    <anon>cakephp</anon>
    <anon>php</anon>
  </categories>
  <description>AuthComponent でどうやって Mock を書くんだろうと今頃になって理解できたのでメモ書き &lt;?php class AdminsControllerTest extends ControllerTestCase { public function setUp() { parent::setUp(); $Admins = $this-&gt;generate('Admins', array('components' =&gt; 'Auth')); $Admins-&gt;constructClasses(); // 認証まわりをセッションを使わずに mock でごまかす $Admins-&gt;Auth-&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatys.hateblo.jp%2Fentry%2F20130603%2Fp1&quot; title=&quot; CakePHP2 で Mock - at_yasu&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-06-03 00:00:00</published>
  <title> CakePHP2 で Mock</title>
  <type>rich</type>
  <url>https://atys.hateblo.jp/entry/20130603/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
