<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arcright</author_name>
  <author_url>https://blog.hatena.ne.jp/arcright/</author_url>
  <blog_title>chulip.org</blog_title>
  <blog_url>https://chulip.org/</blog_url>
  <categories>
    <anon>CakePHP</anon>
  </categories>
  <description>CakePHP2系になってからはPHPUnitがテストに使われていてそれを使ってテスト書いてるんだけど assert文を微妙に間違ってるなあって気づいた。けど動いてるのでなんでかなと思った。 ちなみにassertEqualsをassertEqualって書いてた。 答えはまんま下のページに書いてあった PHPUnitへの移行のヒント - 2.x CakePHP2系は1.3系からかなり変わっていてテストもSimpleTestからPHPUnitに変わっている。 SimpleTestにassertEqualっていうassertがあって移行期間としての一時的な処置でラッパーが用意されていてカバーしてくれ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchulip.org%2Fentry%2F20120221%2F1329838470&quot; title=&quot;CakePHP2とPHPUnitとSimpleTestと - chulip.org&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>2012-02-21 00:34:30</published>
  <title>CakePHP2とPHPUnitとSimpleTestと</title>
  <type>rich</type>
  <url>https://chulip.org/entry/20120221/1329838470</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
